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.
This commit is contained in:
Valentin Bartenev 2013-10-01 00:12:30 +04:00
parent 92b82c80af
commit 4f4963e87e

View File

@ -2832,6 +2832,7 @@ ngx_http_spdy_finalize_connection(ngx_http_spdy_connection_t *sc,
c->error = 1;
c->read->handler = ngx_http_empty_handler;
c->write->handler = ngx_http_empty_handler;
sc->last_out = NULL;