]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Fix processing of "Connection: " header on outgoing messages
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 Nov 2018 09:46:09 +0000 (10:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:20:36 +0000 (17:20 +0100)
commit5999b865008633fe4314140ed4c5bab017203383
tree300c0e5f4785b0f6785f3d7f5d7b896d4ef0f9fa
parent53ad16a0ef0fd0ea3dc6ab6ba1e7bdeb198beb86
BUG/MINOR: mux-h1: Fix processing of "Connection: " header on outgoing messages

in h1_process_output(), before formatting the headers, we need to find and check
the "Connection: " header to update the connection mode. But, the context used
to do so was not correctly initialized. We must explicitly set ctx.value to NULL
to be sure to rescan the current header.
src/mux_h1.c