diff options
author | Valentin Bartenev <vbart@nginx.com> | 2013-10-01 00:12:30 +0400 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2013-10-01 00:12:30 +0400 |
commit | 4f4963e87e734e2ec69d19a11fb00c3ad1f9d154 (patch) | |
tree | dc38711f69bbad468f934f70b9c6f6f9e9fe085d | |
parent | 92b82c80af9db61d78a1d7836ffbd719451a55aa (diff) | |
download | nginx-4f4963e87e734e2ec69d19a11fb00c3ad1f9d154.tar.gz nginx-4f4963e87e734e2ec69d19a11fb00c3ad1f9d154.zip |
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.
-rw-r--r-- | src/http/ngx_http_spdy.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |