From ac4a65f8d2cb2e08f6ac75df21e64dc4662c7544 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 25 Feb 2025 23:53:41 +0100 Subject: [PATCH] urldata: move the ech struct field to the "right place" We keep the struct field ordered in a rough size order, big to small. Closes #16489 --- lib/urldata.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/urldata.h b/lib/urldata.h index 6a7ddee62c..69f0628cce 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1690,6 +1690,9 @@ struct UserDefined { struct curl_slist *mail_rcpt; /* linked list of mail recipients */ #endif unsigned int maxconnects; /* Max idle connections in the connection cache */ +#ifdef USE_ECH + int tls_ech; /* TLS ECH configuration */ +#endif unsigned short use_port; /* which port to use (when not using default) */ #ifndef CURL_DISABLE_BINDLOCAL unsigned short localport; /* local port number to bind to */ @@ -1827,9 +1830,6 @@ struct UserDefined { #ifndef CURL_DISABLE_WEBSOCKETS BIT(ws_raw_mode); #endif -#ifdef USE_ECH - int tls_ech; /* TLS ECH configuration */ -#endif }; #ifndef CURL_DISABLE_MIME -- 2.47.3