MEDIUM: connection: Rely on addresses at stream level to make proxy line
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 Oct 2021 06:05:28 +0000 (08:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Oct 2021 09:35:57 +0000 (11:35 +0200)
commitb097aef2ef33e3c7fc9412065e9c5111d63f9a43
treebf9fa80fafe8897bd851ae644559f7a2a7418ff1
parentc03be1a1297107ec2f8b8e253f4750823c0f3328
MEDIUM: connection: Rely on addresses at stream level to make proxy line

If the stream exists, the frontend stream-interface is used to get the
client source and destination addresses when the proxy line is built. For
now, stream-interface or 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 appropriate level when set instead of those
at the connection level.
src/connection.c