]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: logs must report persistent connections to down servers
authorWilly Tarreau <w@1wt.eu>
Sun, 24 Jan 2010 12:10:43 +0000 (13:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 22:16:57 +0000 (23:16 +0100)
commit857d0c3d0ce6837571b26998572d94b72c9d8ebf
tree7767d1c1c9ce579522a17a351dd35546de2e0152
parent59f50cce063fe91e198456732fdb8802b13e0943
[MINOR] http: logs must report persistent connections to down servers

When using "option persist" or "force-persist", we want to know from the
logs if the cookie referenced a valid server or a down server. Till here
the flag reported a valid server even if the server was down, which is
misleading. Now we correctly report that the requested server was down.
We can typically see "--DI" when using "option persist" with redispatch,
ad "SCDN" when using force-persist on a down server.
(cherry picked from commit 2a6d88dafe5e5628abb962caf395143d0c0b6024)
src/proto_http.c