]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: checks: close FD on all timeouts
authorWilly Tarreau <w@1wt.eu>
Fri, 23 Nov 2012 15:22:08 +0000 (16:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Nov 2012 15:22:08 +0000 (16:22 +0100)
commitb63b59641e7d5a8dc5cce66611c907e3bda31eb2
tree47afa319bb39a43c56f0aa303a91fc388f84d036
parent74fa7fbec947f04f2245500d44903fba6092d711
BUG/MAJOR: checks: close FD on all timeouts

Since last commit, some timeouts were converted into an error to report
the status, and as a result, the socket was not closed because it was
supposed to have been done during the wake() call.

Close the socket as soon as the timeout is detected to fix the issue.
Also we now ensure to first initialize the connection flags.
src/checks.c