From: Daniel Stenberg Date: Tue, 25 Feb 2025 22:53:41 +0000 (+0100) Subject: urldata: move the ech struct field to the "right place" X-Git-Tag: curl-8_13_0~346 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac4a65f8d2cb2e08f6ac75df21e64dc4662c7544;p=thirdparty%2Fcurl.git 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 --- 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