mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-11 09:37:20 +02:00
MINOR: checks: Add a mux proto to health-check and tcp-check connect rule
It is not set and not used for now, but it will be possible to force the mux protocol thanks to this patch. A mux proto field is added to the checks and to tcp-check connect rules.
This commit is contained in:
parent
0fca7edeb5
commit
b356714769
@ -191,7 +191,7 @@ struct check {
|
|||||||
char *sni; /* Server name */
|
char *sni; /* Server name */
|
||||||
char *alpn_str; /* ALPN to use for checks */
|
char *alpn_str; /* ALPN to use for checks */
|
||||||
int alpn_len; /* ALPN string length */
|
int alpn_len; /* ALPN string length */
|
||||||
|
const struct mux_proto_list *mux_proto; /* the mux to use for all outgoing connections (specified by the "proto" keyword) */
|
||||||
int via_socks4; /* check the connection via socks4 proxy */
|
int via_socks4; /* check the connection via socks4 proxy */
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -223,6 +223,7 @@ struct tcpcheck_connect {
|
|||||||
char *sni; /* server name to use for SSL connections */
|
char *sni; /* server name to use for SSL connections */
|
||||||
char *alpn; /* ALPN to use for the SSL connection */
|
char *alpn; /* ALPN to use for the SSL connection */
|
||||||
int alpn_len; /* ALPN string length */
|
int alpn_len; /* ALPN string length */
|
||||||
|
const struct mux_proto_list *mux_proto; /* the mux to use for all outgoing connections (specified by the "proto" keyword) */
|
||||||
uint16_t options; /* options when setting up a new connection */
|
uint16_t options; /* options when setting up a new connection */
|
||||||
uint16_t port; /* port to connect to */
|
uint16_t port; /* port to connect to */
|
||||||
struct sample_expr *port_expr; /* sample expr to determine the port, may be NULL */
|
struct sample_expr *port_expr; /* sample expr to determine the port, may be NULL */
|
||||||
|
Loading…
Reference in New Issue
Block a user