changeset 5404:db85dacfa013

SPDY: set empty write handler during connection finalization. While ngx_http_spdy_write_handler() should not make any harm with current code, calling it during finalization of SPDY connection was not intended.
author Valentin Bartenev <vbart@nginx.com>
date Tue, 01 Oct 2013 00:12:30 +0400
parents 7e062646da6f
children 620808518349
files src/http/ngx_http_spdy.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_spdy.c
+++ b/src/http/ngx_http_spdy.c
@@ -2832,6 +2832,7 @@ ngx_http_spdy_finalize_connection(ngx_ht
 
     c->error = 1;
     c->read->handler = ngx_http_empty_handler;
+    c->write->handler = ngx_http_empty_handler;
 
     sc->last_out = NULL;