1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

multi: do not switch off connect_only flag when closing

... as it made protocol specific disconnect commands wrongly get used.

Bug: https://curl.se/mail/lib-2021-06/0024.html
Reported-by: Aleksander Mazur
Closes #7288
This commit is contained in:
Daniel Stenberg 2021-06-23 09:35:26 +02:00
parent a629506d42
commit 9accc48850
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -709,7 +709,6 @@ static int close_connect_only(struct Curl_easy *data,
return 1;
connclose(conn, "Removing connect-only easy handle");
conn->bits.connect_only = FALSE;
return 1;
}