]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: Make outgoing connection to SSL/TLS peers work.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 26 Apr 2018 12:35:21 +0000 (14:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Jan 2019 13:26:21 +0000 (14:26 +0100)
commit1055e687a2dc936aac2da0ad3460de40e1d5480f
tree09a576657fd533a27f7e00eaefc68adce7be0a37
parentc06b5d4f74ec8836279c0e776da20fbb656a637b
MINOR: peers: Make outgoing connection to SSL/TLS peers work.

This patch adds pointer to a struct server to peer structure which
is initialized after having parsed a remote "peer" line.

After having parsed all peers section we run ->prepare_srv to initialize
all SSL/TLS stuff of remote perr (or server).

Remaining thing to do to completely support peer protocol over SSL/TLS:
make "bind" keyword be supported in "peers" sections to make SSL/TLS
incoming connections to local peers work.

May be backported to 1.5 and newer.
include/proto/peers.h
include/types/peers.h
src/cfgparse.c
src/peers.c