commit | 6e8e2ec8494f3ed92f0c80c8382f80072384a4f3 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Oct 25 16:25:20 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Tue Oct 29 14:15:20 2019 +0100 |
tree | 2612d70be116bd7754ee2d526ee52e7bd1284247 | |
parent | 9b8e11e691619b9cc0336f57bcdfacb015864a97 [diff] |
BUG/MEDIUM: stream_interface: Only use SI_ST_RDY when the mux is ready. In si_connect(), only switch the strema_interface status to SI_ST_RDY if we're reusing a connection and if the connection's mux is ready. Otherwise, maybe we're reusing a connection that is not fully established yet, and may fail, and setting SI_ST_RDY would mean we would not be able to retry to connect. This should be backported to 1.9 and 2.0. This commit depends on 55234e33708c5a584fb9efea81d71ac47235d518.