mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
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:
parent
1098e1044e
commit
aeee5dd616
9 changed files with 14 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue