commit | bc89ad8d94246eca064b87e76c1897f6a950f6fb | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Tue Jul 09 17:28:51 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Jul 10 16:29:12 2019 +0200 |
tree | b1de1c3961af0ce696e4702378af4cbe2f7f7f23 | |
parent | 34ce7d075ae3d5d5c876de4ad76bdf0e358772df [diff] |
BUG/MEDIUM: checks: Don't attempt to read if we destroyed the connection. In event_srv_chk_io(), only call __event_srv_chk_r() if we did not subscribe for reading, and if wake_srv_chk() didn't return -1, as it would mean it just destroyed the connection and the conn_stream, and attempting to use those to recv data would lead to a crash. This should be backported to 1.9 and 2.0.