]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h1: Handle TUNNEL state when outgoing messages are formatted
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Jul 2019 15:12:12 +0000 (17:12 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Jul 2019 12:26:15 +0000 (14:26 +0200)
commitf8db73efbe5687624caa6b4b39e1619b78bf42d9
treef180eea0da0c20169c65ab2a4aeaaa6890cf8067
parent16b2be93ad9e7db2d57ca5aaa4ca629efecd6530
BUG/MEDIUM: mux-h1: Handle TUNNEL state when outgoing messages are formatted

Since the commit 94b2c7 ("MEDIUM: mux-h1: refactor output processing"), the
formatting of outgoing messages is performed on the message state and no more on
the HTX blocks read. But the TUNNEL state was left out. So, the HTTP tunneling
using the CONNECT method or switching the protocol (for instance,
the WebSocket) does not work.

This issue was reported on Github. See #131. This patch must be backported to
2.0.
src/mux_h1.c