]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: check: do not ignore a connection header for http-check send
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 22 Dec 2020 13:08:52 +0000 (14:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Dec 2020 13:22:44 +0000 (14:22 +0100)
commit6d975f0af650e51c5c8e584d9b6beb413deb6868
tree1ab5399adaaa42cc156c8784cdcbfa3468539e07
parent4f59d386160d645e3b7af990d20c153709787b16
MINOR: check: do not ignore a connection header for http-check send

Allow the user to specify a custom Connection header for http-check
send. This is useful for example to implement a websocket upgrade check.

If no connection header has been set, a 'Connection: close' header is
automatically appended to allow the server to close the connection
immediately after the request/response.

Update the documentation related to http-check send.

This fixes the github issue #1009.
doc/configuration.txt
src/tcpcheck.c