]> 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)
commit73d5e87a2b0dc4b8ea138fbee7917f9f1deaa0f9
treee613cef8a9a39e47343a0d5ec72ce4ebfa2ca974
parent010321e6054fea211659e8f2b7bf7e08d2bb48bf
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