]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: pass the proxy when creating a connection
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 10:02:05 +0000 (12:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 15:39:22 +0000 (17:39 +0200)
commit175a2bb507cd8f8c6570e0660d7f3eb574cdda89
tree055df6e38e09f9d1bd256d9fe1dd9f066580e8a7
parenteb528db60bb7cce7ba484b16ddd3933917bbf8dc
MINOR: connection: pass the proxy when creating a connection

Till now it was very difficult for a mux to know what proxy it was
working for. Let's pass the proxy when the mux is instanciated at
init() time. It's not yet used but the H1 mux will definitely need
it, just like the H2 mux when dealing with backend connections.
include/proto/connection.h
include/types/connection.h
src/checks.c
src/mux_h2.c
src/mux_pt.c
src/peers.c