]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream: Handle stream HTTP upgrade in a dedicated function
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Mar 2021 09:42:02 +0000 (10:42 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Apr 2021 09:06:48 +0000 (11:06 +0200)
commit6c1fd987f6b0d7f7c6f5976a3eebdfad4d894811
tree29d9be91efe6b707a19beef44e5bb23d76fdd984
parent75f619ad922a53296fc958299550c6fed4a60055
MINOR: stream: Handle stream HTTP upgrade in a dedicated function

The code responsible to perform an HTTP upgrade from a TCP stream is moved
in a dedicated function, stream_set_http_mode().

The stream_set_backend() function is slightly updated, especially to
correctly set the request analysers.
include/haproxy/stream.h
src/proxy.c
src/stream.c