]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: Special-case http_proxy when dealing with outgoing connections.
authorOlivier Houchard <cognet@ci0.org>
Sat, 1 Dec 2018 16:03:38 +0000 (17:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:20:03 +0000 (17:20 +0100)
commit2442f68dd32809571b6eee4242a8e8bb93dabd0a
tree4cbc22c74d9587ba2d2f08da5890c34dcd39d1bb
parentba4fff5fd2955553467d50ef5db704d7463d9a3d
BUG/MEDIUM: Special-case http_proxy when dealing with outgoing connections.

http_proxy is special, because it creates its connection and conn_stream
earlier. So in assign_server(), check that the connection associated with
the conn_stream has a destination address set, and in connect_server(),
use the connection and the conn_stream already attached to the
stream_interface, instead of looking for a connection in the session, and
creating a new conn_stream.
src/backend.c