OPTIM: tcpcheck: Reorder tcpchek_connect structure fields to fill holes

Thanks to this patch, two 4-bytes holes are now filled in the
tcpchek_connect structure.
This commit is contained in:
Christopher Faulet 2025-09-04 12:19:46 +02:00
parent ffc1f096e0
commit f9a6ae727c

View file

@ -128,9 +128,9 @@ struct tcpcheck_connect {
struct lf_expr *sni_fmt; /* log-format string used for SNI. if defined, point on the following HTTP host header value */
char *alpn; /* ALPN to use for the SSL connection */
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 port; /* port to connect to */
const struct mux_proto_list *mux_proto; /* the mux to use for all outgoing connections (specified by the "proto" keyword) */
struct sample_expr *port_expr; /* sample expr to determine the port, may be NULL */
struct sockaddr_storage addr; /* the address to the connect */
};