Welcome! Log In Create A New Profile

Advanced

[nginx] SPDY: prevented creation of RST_STREAM in protocol error...

Valentin Bartenev
May 15, 2014 11:26AM
details: http://hg.nginx.org/nginx/rev/86232c95623d
branches:
changeset: 5688:86232c95623d
user: Valentin Bartenev <vbart@nginx.com>
date: Thu May 15 19:18:26 2014 +0400
description:
SPDY: prevented creation of RST_STREAM in protocol error state.

Previously, the frame wasn't sent anyway (and had a wrong status code).

diffstat:

src/http/ngx_http_spdy.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 6642690698f1 -r 86232c95623d src/http/ngx_http_spdy.c
--- a/src/http/ngx_http_spdy.c Wed Apr 30 20:33:58 2014 +0400
+++ b/src/http/ngx_http_spdy.c Thu May 15 19:18:26 2014 +0400
@@ -1932,6 +1932,7 @@ ngx_http_spdy_state_protocol_error(ngx_h
"spdy state protocol error");

if (sc->stream) {
+ sc->stream->out_closed = 1;
ngx_http_spdy_close_stream(sc->stream, NGX_HTTP_BAD_REQUEST);
}


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] SPDY: prevented creation of RST_STREAM in protocol error...

Valentin Bartenev 442 May 15, 2014 11:26AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 141
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready