]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Rely on a H1S flag to know a WS key was found or not
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Nov 2022 07:42:08 +0000 (08:42 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Nov 2022 13:33:15 +0000 (14:33 +0100)
commit62138aab3ed685f459a4c7533299fcae09df6b7e
tree72292c57f135f57e1b31fa13cdc651e631801c64
parent7f6aa56d471c44776a2533887c2b57f90865b80c
MINOR: mux-h1: Rely on a H1S flag to know a WS key was found or not

h1_process_mux() is written to allow partial headers formatting. For now,
all headers are forwarded in one time. But it is still good to keep this
ability at the H1 mux level. So we must rely on a H1S flag instead of a
local variable to know a WebSocket key was found in headers to be able to
generate a key if necessary.

There is no reason to backport this patch.
include/haproxy/mux_h1-t.h
src/mux_h1.c