]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: Only consider backend httpclose option for server connections
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Feb 2023 16:30:06 +0000 (17:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Feb 2023 10:44:55 +0000 (11:44 +0100)
commitd17dd848c4eb15948d4894fb00bb0d5cf75f98a3
tree024ae349d220d02110203d0c7ab2a8f6d6206c5e
parent85523a02124f2b9dec7473e5f9f56cc9703be5c0
MINOR: proxy: Only consider backend httpclose option for server connections

For server connections, both the frontend and backend were considered to
enable the httpclose option. However, it is ambiguous because on client side
only the frontend is considerd. In addition for 2 frontends, one with the
option enabled and not for the other, the HTTP connection mode may differ
while it is a backend setting.

Thus, now, for the server side, only the backend is considered. Of course,
if the option is set for a listener, the option will be enabled if the
listener is the backend's connection.
doc/configuration.txt
src/mux_h1.c