]> git.kaiwu.me - nginx.git/commit
SPDY: fixed connection leak while waiting for request headers.
authorValentin Bartenev <vbart@nginx.com>
Mon, 30 Sep 2013 20:04:00 +0000 (00:04 +0400)
committerValentin Bartenev <vbart@nginx.com>
Mon, 30 Sep 2013 20:04:00 +0000 (00:04 +0400)
commit92b82c80af9db61d78a1d7836ffbd719451a55aa
tree5ee1181bf06a861e963a1589300ac757c3aa7121
parent6ba03097dbc592646303dacdf169b1162a119af7
SPDY: fixed connection leak while waiting for request headers.

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 request headers, it was a no-op since the
read event handler had been set to ngx_http_empty_handler().
src/http/ngx_http_spdy.c