mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:03:52 +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
|
|
@ -1821,7 +1821,7 @@ out:
|
|||
/* Defer flushing during the connect phase so that the SETTINGS and
|
||||
* other initial frames are sent together with the first request.
|
||||
* Unless we are 'connect_only' where the request will never come. */
|
||||
if(!cf->connected && !cf->conn->connect_only)
|
||||
if(!cf->connected && !cf->conn->bits.connect_only)
|
||||
return CURLE_OK;
|
||||
return nw_out_flush(cf, data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue