]> git.kaiwu.me - nginx.git/commit
SPDY: fixed connection leak while waiting for request body.
authorValentin Bartenev <vbart@nginx.com>
Mon, 30 Sep 2013 20:00:57 +0000 (00:00 +0400)
committerValentin Bartenev <vbart@nginx.com>
Mon, 30 Sep 2013 20:00:57 +0000 (00:00 +0400)
commit6ba03097dbc592646303dacdf169b1162a119af7
tree8013e7166540fb1aa9082e63714643efd6f0c1cb
parentef8c64acbe7b826b2bbd2dacc0e173cf79b26d37
SPDY: fixed connection leak while waiting for request body.

If an error occurs in a SPDY connection, the c->error flag is set on every fake
request connection, and its read or write event handler is called, in order to
finalize it.  But while waiting for a request body, it was a no-op since the
read event handler ngx_http_request_handler() calls r->read_event_handler that
had been set to ngx_http_block_reading().
src/http/ngx_http_spdy.c