]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Don't add Connection close/keep-alive header for 1xx messages
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Dec 2020 15:46:33 +0000 (16:46 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Jan 2021 15:37:14 +0000 (16:37 +0100)
commitf3e7619041dee3d61db7a6756e220ca15895c0da
tree7f09614baccdc2d1eb501d18b8d5c3f214a36c16
parent91fcf21e451cab0fbe0d00f2ff638c2409bbff50
MINOR: mux-h1: Don't add Connection close/keep-alive header for 1xx messages

No connection header must be added by the H1 mux in 1xx messages, including
101. Existing connection headers remains untouched, especially the "Connection:
upgrade" of 101 responses. This patch only avoids to add "Connection: close" or
"Connection: keep-alive" to 1xx responses.
src/mux_h1.c