]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proto_reverse_connect: parse rev@ addresses for bind
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 7 Aug 2023 15:56:36 +0000 (17:56 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Aug 2023 15:02:37 +0000 (17:02 +0200)
commit0747e493a0f3c59d14cd352926a6f628377a8e7f
treecf683b3fff15a83290bdb57287beb3b5bd6368fd
parent008e8f67ee55d43041e7e7564ef78e8a0ed1495c
MINOR: proto_reverse_connect: parse rev@ addresses for bind

Implement parsing for "rev@" addresses on bind line. On config parsing,
server name is stored on the bind_conf.

Several new callbacks are defined on reverse_connect protocol to
complete parsing. listen callback is used to retrieve the server
instance from the bind_conf server name. If found, the server instance
is stored on the receiver. Checks are implemented to ensure HTTP/2
protocol only is used by the server.
doc/configuration.txt
include/haproxy/listener-t.h
include/haproxy/proto_reverse_connect.h
include/haproxy/receiver-t.h
src/cfgparse.c
src/listener.c
src/proto_reverse_connect.c
src/proxy.c