commit | dea2474991728f4eedb90f5203a7da1200437fe9 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jan 22 15:12:30 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Jan 28 16:37:14 2021 +0100 |
tree | 1f858ef2cf13c1f77aa6d5eb80eac9cfb74530c2 | |
parent | 91b21dc8d89ca050e033603de16782454665bcfa [diff] |
MEDIUM: mux-h1: Properly handle tunnel establishments and aborts In the same way than the H2 mux, we now bloc data sending on the server side if a tunnel is not fully established. In addition, if some data are still pending for a aborted tunnel, an error is triggered and the server connection is closed. To do so, we rely on the H1C_F_WAIT_INPUT flag to bloc the output processing. This patch contributes to fix the tunnel mode between the H1 and the H2 muxes.