# HG changeset patch # User Valentin Bartenev # Date 1400167106 -14400 # Node ID 86232c95623df6b5983faa7129a7eeda726e6156 # Parent 6642690698f128858dcedda186e41c8bf4b09722 SPDY: prevented creation of RST_STREAM in protocol error state. Previously, the frame wasn't sent anyway (and had a wrong status code). diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c --- a/src/http/ngx_http_spdy.c +++ b/src/http/ngx_http_spdy.c @@ -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); }