mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
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:
parent
92b82c80af
commit
4f4963e87e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user