]> git.kaiwu.me - nginx.git/commit
HTTP/2: fixed send timer handling.
authorValentin Bartenev <vbart@nginx.com>
Tue, 19 Jul 2016 17:31:09 +0000 (20:31 +0300)
committerValentin Bartenev <vbart@nginx.com>
Tue, 19 Jul 2016 17:31:09 +0000 (20:31 +0300)
commit3b2f54bc2ea0d9d34b3e181f1221a050824e1c1a
tree75974dd849b6ed2d22a6bd1c8e8eaaf61ff80a9d
parentce6eb33d15f1efd3c418ce7688ed6de3af81cae9
HTTP/2: fixed send timer handling.

Checking for return value of c->send_chain() isn't sufficient since there
are data can be left in the SSL buffer.  Now the wew->ready flag is used
instead.

In particular, this fixed a connection leak in cases when all streams were
closed, but there's still some data to be sent in the SSL buffer and the
client forgot about the connection.
src/http/v2/ngx_http_v2.c