]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: proxy/htx: Handle mux upgrades from TCP to HTTP in HTX mode
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Apr 2019 08:53:51 +0000 (10:53 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Apr 2019 20:06:53 +0000 (22:06 +0200)
commitbbe685452fa328fe35ff7c430b228ec2614c9732
tree79c0e4168196a83b70bd280599565ac6cb051173
parenteb7098035cc5bbff4291b7908a216c15c5e8a397
MAJOR: proxy/htx: Handle mux upgrades from TCP to HTTP in HTX mode

It is now possible to upgrade TCP streams to HTX when an HTTP backend is set for
a TCP frontend (both with the HTX enabled). So concretely, in such case, an
upgrade is performed from the mux pt to the mux h1. The current CS and the
channel's buffer are used to initialize the mux h1.
src/proxy.c