]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] log: retrieve the target from the session, not the SI
authorWilly Tarreau <w@1wt.eu>
Sun, 27 Mar 2011 17:53:06 +0000 (19:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 27 Mar 2011 17:53:06 +0000 (19:53 +0200)
commit7b7a8e9d8335e76ca791d5d0eee3e6e381a8e15f
tree2261aecee6dfe3a8066c2b775d9afca43b3978f7
parent0b3a4115431e47845f9a6dd1f75e000f88f75be7
[BUG] log: retrieve the target from the session, not the SI

Since we now have the copy of the target in the session, use it instead
of relying on the SI for it. The SI drops the target upon unregister()
so applets such as stats were logged as "NOSRV".
src/backend.c
src/dumpstats.c
src/log.c
src/peers.c
src/proto_http.c