]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connections: Don't call shutdown() if we want to disable linger.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 14 Jun 2019 13:26:06 +0000 (15:26 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 14 Jun 2019 13:33:41 +0000 (15:33 +0200)
commitfe4abe62c7c5206dff1802f42d17014e198b9141
treec010bc6c0b294ff0844c99809d69b01d42172866
parent86eded6c69516f579427533c6dcca07c38dc87ac
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.
include/proto/connection.h