From f9a6ae727cc4972c5358198f67982f8a3b7fe481 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 4 Sep 2025 12:19:46 +0200 Subject: [PATCH] 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. --- include/haproxy/tcpcheck-t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/tcpcheck-t.h b/include/haproxy/tcpcheck-t.h index c660cd477..290a73584 100644 --- a/include/haproxy/tcpcheck-t.h +++ b/include/haproxy/tcpcheck-t.h @@ -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 */ }; -- 2.47.3