]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: stop polling for write when we have nothing left to send
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Sep 2019 16:24:46 +0000 (18:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Sep 2019 06:13:15 +0000 (08:13 +0200)
commit5909380c057cef2f54a3cd3f4ff249649c6fe101
tree151d216bf775e21a4bde8bdb3881ed97a0bce5da
parent616c1cf774771e8a8e8c1b142846592d58fdf67b
BUG/MINOR: checks: stop polling for write when we have nothing left to send

Since the change of I/O direction, we perform the connect() call and
the send() call together from the top. But the send call must at least
disable polling for writes once it does not have anything left to send.

This bug is partially responsible for the waste of resources described
in issue #253.

This must be backported to 2.0.
src/checks.c