]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urldata: move the ech struct field to the "right place"
authorDaniel Stenberg <daniel@haxx.se>
Tue, 25 Feb 2025 22:53:41 +0000 (23:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 26 Feb 2025 07:18:35 +0000 (08:18 +0100)
We keep the struct field ordered in a rough size order, big to small.

Closes #16489

lib/urldata.h

index 6a7ddee62c7062132b5d550c4661bd69a2146faf..69f0628cceeb9afc87972f5b8bf44b8c8590bdea 100644 (file)
@@ -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