commit | fe4abe62c7c5206dff1802f42d17014e198b9141 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Jun 14 15:26:06 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Fri Jun 14 15:33:41 2019 +0200 |
tree | c010bc6c0b294ff0844c99809d69b01d42172866 | |
parent | 86eded6c69516f579427533c6dcca07c38dc87ac [diff] |
BUG/MEDIUM: connections: Don't call shutdown() if we want to disable linger. In conn_sock_shutw(), avoid calling shutdown() if linger_risk is set. Not doing so will result in getting sockets in TIME_WAIT for some time. This is particularly observable with health checks. This should be backported to 1.9.