]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: check: tcp-check might miss some outgoing data when socket buffers are...
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Dec 2013 13:19:25 +0000 (14:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Dec 2013 13:26:55 +0000 (14:26 +0100)
commitabca5b6ab533223e653d0207f959b3bfe5d8d551
tree9d65d7feaee134b9f53dfcd83d6744a0154f699c
parenta970c283cc9f7fac25c6c10763730a0a6e59c677
BUG/MEDIUM: check: tcp-check might miss some outgoing data when socket buffers are full

If a "tcp-check send" experiences an EAGAIN on a send() call, it will
nevertheless go to next rule, and will not try to send again if the next
rule is an expect.

Change this so that we always try to send whatever remains in the buffer
before doing anything else.
src/checks.c