]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcp-check: don't quit with pending data in the send buffer
authorWilly Tarreau <w@1wt.eu>
Wed, 4 Oct 2017 09:38:08 +0000 (11:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Oct 2017 11:41:20 +0000 (13:41 +0200)
commit82feaaf0423919c5af61b59f6f3234bc0423a791
treea6bf3c27b172f3619b76b08eba7385640497b4c3
parenta3782e7594b67cb82afb6a02c417b4c955b11c16
BUG/MINOR: tcp-check: don't quit with pending data in the send buffer

In the rare case where the "tcp-check send" directive is the last one in
the list, it leaves the loop without sending the data. Fortunately, the
polling is still enabled on output, resulting in the connection handler
calling back to send what remains, but this is ugly and not very reliable.

This may be backported to 1.7 and 1.6.
src/checks.c