]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
multi: do not switch off connect_only flag when closing
authorDaniel Stenberg <daniel@haxx.se>
Wed, 23 Jun 2021 07:35:26 +0000 (09:35 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 24 Jun 2021 07:07:34 +0000 (09:07 +0200)
... 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

lib/multi.c

index d91f13db0479e18828c5624c12e871caaff4221f..322f14377f1fdf28854749bb974bd8c6d928604a 100644 (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;
 }