commit | 0ba6c85a0b87d4c11940e8dacacdee8bf1005fa3 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jul 18 15:09:08 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Thu Jul 18 16:42:45 2019 +0200 |
tree | 88f38facaaa11a9ace358c9f952e44370ea71dd1 | |
parent | 8280ea97a013ea7fd265da8d8c2e83e2e1324ef4 [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.