commit | 48bf0579366832a89ae55436cf09dde22ed85c64 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jul 18 15:09:08 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jul 19 09:54:48 2019 +0200 |
tree | 94362bcbc9304fc2b54466410c6895c6a8d81ae7 | |
parent | 85835eeb43e17917648b04b73f4f980d17744451 [diff] |
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. (cherry picked from commit 0ba6c85a0b87d4c11940e8dacacdee8bf1005fa3) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>