]> git.kaiwu.me - haproxy.git/commit
[MINOR] http: disable keep-alive when process is going down
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 14:01:20 +0000 (15:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 14:01:20 +0000 (15:01 +0100)
commitc3e8b25c795461331b142bf0af82e21d7771f68a
tree7bfca8e7d508ed550151dcaef020c8112a0712ca
parent910ba4bb8ba823c7d8ae004d2794113ed22a17dc
[MINOR] http: disable keep-alive when process is going down

Krzysztof Oledzki suggested to disable keep-alive when a process
is going down due to a reload, in order to avoid ever-lasting
sessions. This is a simple and very efficient solution as it
ensures that at most one more request will be handled on a
keep-alive connection after the process has received a SIGUSR1
signal.
src/proto_http.c