| commit | 2734599858fd17f2cd554887ab48cda8e99c6f35 | [log] [tgz] | 
|---|---|---|
| author | Maxim Dounin <mdounin@mdounin.ru> | Thu Feb 11 21:52:11 2021 +0300 | 
| committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Feb 11 21:52:11 2021 +0300 | 
| tree | 8859a8deef9d905bd7b31156e3260e4b8cc1d661 | |
| parent | 4e490f752d7057127c230a64c9376c92d41e0c07 [diff] | 
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.