From 4f4963e87e734e2ec69d19a11fb00c3ad1f9d154 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 1 Oct 2013 00:12:30 +0400 Subject: [PATCH] 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. --- src/http/ngx_http_spdy.c | 1 + 1 file changed, 1 insertion(+) 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;