]> git.kaiwu.me - nginx.git/commit
HTTP/2: flushing of the SSL buffer in transition to the idle state.
authorValentin Bartenev <vbart@nginx.com>
Tue, 19 Jul 2016 17:34:17 +0000 (20:34 +0300)
committerValentin Bartenev <vbart@nginx.com>
Tue, 19 Jul 2016 17:34:17 +0000 (20:34 +0300)
commita85edfeef6cdf4094e6e12b663b7371271cb610f
tree8be065c021cccb8f79b9b9244ed78ad0df5288ec
parent3c81c08ceae2c22cf5d2ba1b637d685e397a68f2
HTTP/2: flushing of the SSL buffer in transition to the idle state.

It fixes potential connection leak if some unsent data was left in the SSL
buffer.  Particularly, that could happen when a client canceled the stream
after the HEADERS frame has already been created.  In this case no other
frames might be produced and the HEADERS frame alone didn't flush the buffer.
src/http/v2/ngx_http_v2.c