# HG changeset patch # User Valentin Bartenev # Date 1380571950 -14400 # Node ID db85dacfa0133538906f6ae4479793b1dc5911cc # Parent 7e062646da6fb1e786b4a12f5020df67bed11fb5 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. 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 @@ -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;