commit | 27820056d9ca3efc892d7c741bf529dae098207e | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Tue Jul 19 20:34:17 2016 +0300 |
committer | Valentin Bartenev <vbart@nginx.com> | Tue Jul 19 20:34:17 2016 +0300 |
tree | 8be065c021cccb8f79b9b9244ed78ad0df5288ec | |
parent | 678d1bfb225ddfa49700b61eebf17be68dbea9c0 [diff] |
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.