]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: Don't attempt to receive data if we already subscribed.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 18 Jul 2019 13:09:08 +0000 (15:09 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 18 Jul 2019 14:42:45 +0000 (16:42 +0200)
commit0ba6c85a0b87d4c11940e8dacacdee8bf1005fa3
tree88f38facaaa11a9ace358c9f952e44370ea71dd1
parent8280ea97a013ea7fd265da8d8c2e83e2e1324ef4
BUG/MEDIUM: checks: Don't attempt to receive data if we already subscribed.

tcpcheck_main() might be called while we already attempted to subscribe, and
failed. There's no point in trying to call rcv_buf() again, and failing
would lead to us trying to subscribe again, which is not allowed.

This should be backported to 2.0 and 1.9.
src/checks.c