]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: Rely on client source address at session level to log error
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Oct 2021 15:47:14 +0000 (17:47 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Oct 2021 09:34:21 +0000 (11:34 +0200)
commitc269f664bd07202b0879c16a2cc492ccd153d2e5
tree8bcaff31e9bd2ff1afabc7b661dc39816bec220f
parentf9c4d8d5bec487baf67ce52e2369f588872e89d6
MINOR: session: Rely on client source address at session level to log error

When an embryonic session is killed, if no log format is defined for this
error, a generic error is emitted. When this happens, we now rely on the
session to get the client source address. For now, session addresses are
never set. So, thanks to the fallback mechanism, no changes are expected
with this patch. But its purpose is to rely on addresses at the session
level when set instead of those at the connection level.
src/session.c