]> git.kaiwu.me - nginx.git/commit
Additional connections reuse.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 11 Feb 2021 18:52:11 +0000 (21:52 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 11 Feb 2021 18:52:11 +0000 (21:52 +0300)
commit9a3ec202322b174acb5973d8f55cf570f1177149
tree8859a8deef9d905bd7b31156e3260e4b8cc1d661
parentfb2a2152d756f23ce191ab109116585f90acf087
Additional connections reuse.

If ngx_drain_connections() fails to immediately reuse any connections
and there are no free connections, it now additionally tries to reuse
a connection again.  This helps to provide at least one free connection
in case of HTTP/2 with lingering close, where merely trying to reuse
a connection once does not free it, but makes it reusable again,
waiting for lingering close.
src/core/ngx_connection.c