[nginx] SPDY: prevented creation of RST_STREAM in protocol error...
Valentin Bartenev
vbart at nginx.com
Thu May 15 15:25:45 UTC 2014
details: http://hg.nginx.org/nginx/rev/86232c95623d
branches:
changeset: 5688:86232c95623d
user: Valentin Bartenev <vbart at 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);
}
More information about the nginx-devel
mailing list