mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue