comparison src/http/ngx_http_spdy.c @ 5404:db85dacfa013

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.
author Valentin Bartenev <vbart@nginx.com>
date Tue, 01 Oct 2013 00:12:30 +0400
parents 7e062646da6f
children a279d2a33dbf
comparison
equal deleted inserted replaced
5403:7e062646da6f 5404:db85dacfa013
2830 return; 2830 return;
2831 } 2831 }
2832 2832
2833 c->error = 1; 2833 c->error = 1;
2834 c->read->handler = ngx_http_empty_handler; 2834 c->read->handler = ngx_http_empty_handler;
2835 c->write->handler = ngx_http_empty_handler;
2835 2836
2836 sc->last_out = NULL; 2837 sc->last_out = NULL;
2837 2838
2838 sc->blocked = 1; 2839 sc->blocked = 1;
2839 2840