commit | 2442f68dd32809571b6eee4242a8e8bb93dabd0a | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Sat Dec 01 17:03:38 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 01 17:20:03 2018 +0100 |
tree | 4cbc22c74d9587ba2d2f08da5890c34dcd39d1bb | |
parent | ba4fff5fd2955553467d50ef5db704d7463d9a3d [diff] |
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.