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

@ -729,7 +729,7 @@ static void close_connect_only(struct connectdata *conn,
{
(void)userdata;
(void)data;
if(conn->connect_only)
if(conn->bits.connect_only)
connclose(conn, "Removing connect-only easy handle");
}