]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connection: Use the session to get the origin address if needed.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 29 May 2019 15:08:03 +0000 (17:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 May 2019 15:56:59 +0000 (17:56 +0200)
commit661167d136d5bf4ac40ac4fae450d66dd69a64df
tree1586839404e0e47c9efd973829011e92167c2fb3
parent201840abf121d3347fb284545ad88c47c814225d
BUG/MEDIUM: connection: Use the session to get the origin address if needed.

In conn_si_send_proxy(), if we don't have a conn_stream yet, because the mux
won't be created until the SSL handshake is done, retrieve the opposite's
connection from the session. At this point, we know the session associated
with the connection is the one that initiated it, and we can thus just use
the session's origin.

This should be backported to 1.9.
src/stream_interface.c