connection bits: move 'connect_only' here

Move the bit `connection_only` from `connectdata` to `ConnectBits`.
Since we keep all other bits there, seems the correct place.

Closes #20959
This commit is contained in:
Stefan Eissing 2026-03-17 13:57:42 +01:00 committed by Daniel Stenberg
parent 1098e1044e
commit aeee5dd616
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 14 additions and 13 deletions

View file

@ -250,6 +250,7 @@ typedef enum {
* Boolean values that concerns this connection.
*/
struct ConnectBits {
BIT(connect_only);
#ifndef CURL_DISABLE_PROXY
BIT(httpproxy); /* if set, this transfer is done through an HTTP proxy */
BIT(socksproxy); /* if set, this transfer is done through a socks proxy */
@ -480,7 +481,6 @@ struct connectdata {
* 0 at start, then one of 09, 10, 11, etc. */
uint8_t httpversion_seen;
uint8_t gssapi_delegation; /* inherited from set.gssapi_delegation */
BIT(connect_only);
};
#ifndef CURL_DISABLE_PROXY