]> git.kaiwu.me - nginx.git/commit
HTTP/2: improved handling of "keepalive_timeout 0".
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 25 Mar 2021 22:44:57 +0000 (01:44 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 25 Mar 2021 22:44:57 +0000 (01:44 +0300)
commit1f5271cd61a102514070c0d22ce5001cf0a70d61
tree95519e6ad75219b3a99623ad912b406beb5e4ab7
parentcc73d7688c315dc624282abdbbba7aec82aabad5
HTTP/2: improved handling of "keepalive_timeout 0".

Without explicit handling, a zero timer was actually added, leading to
multiple unneeded syscalls.  Further, sending GOAWAY frame early might
be beneficial for clients.

Reported by Sergey Kandaurov.
src/http/v2/ngx_http_v2.c