From: Valentin Bartenev Date: Mon, 30 Sep 2013 20:12:30 +0000 (+0400) Subject: SPDY: set empty write handler during connection finalization. X-Git-Tag: release-1.5.6~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=4f4963e87e734e2ec69d19a11fb00c3ad1f9d154;p=nginx.git 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 index 6802981af..36e23be02 100644 --- a/src/http/ngx_http_spdy.c +++ b/src/http/ngx_http_spdy.c @@ -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;