]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tcp: report in tcp_drain() that lingering is already disabled on close
authorWilly Tarreau <w@1wt.eu>
Mon, 20 Jan 2014 10:56:37 +0000 (11:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 20 Jan 2014 21:27:17 +0000 (22:27 +0100)
commit3bd3e57a9b910c371f88d26d5554ca255ca1eb96
tree959cc99ea082cfdbda595bbdadceef6f2c373275
parent2aefad5df77e8f345a6e7eafbe470c984492b194
MEDIUM: tcp: report in tcp_drain() that lingering is already disabled on close

When an incoming shutdown or error is detected, we know that we
can safely close without disabling lingering. Do it in tcp_drain()
so that we don't have to do it from each and every caller.
src/proto_tcp.c