commit | aacc405c1f2a4173de36ba1a0bf2416d9c958376 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Tue May 21 17:43:50 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Tue May 21 19:05:09 2019 +0200 |
tree | c24cc1786aff9ef37c66d383def0bcdf4fa2d3f4 | |
parent | 0ba4f483d26678c8f825c4de6bc20840708c0b6c [diff] |
BUG/MEDIUM: streams: Don't switch from SI_ST_CON to SI_ST_DIS on read0. When we receive a read0, and we're still in SI_ST_CON state (so on an outgoing conneciton), don't immediately switch to SI_ST_DIS, or, we would never call sess_establish(), and so the analysers will never run. Instead, let sess_establish() handle that case, and switch to SI_ST_DIS if we already have CF_SHUTR on the channel. This should be backported to 1.9.