]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cf-socket: fix FTP accept connect
authorAndreas Westin <andreas.westin@axis.com>
Thu, 17 Apr 2025 08:46:35 +0000 (10:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 25 Apr 2025 15:39:27 +0000 (17:39 +0200)
When cf_tcp_accept_connect() is called and it sets up a connection it
never indicates to the caller that the it's done.

Closes #17186

lib/cf-socket.c

index 4c71296290052090f6159695c7df46a40604e478..43a80ee448acdbd98033300619ba3cc02550d478 100644 (file)
@@ -2182,6 +2182,7 @@ static CURLcode cf_tcp_accept_connect(struct Curl_cfilter *cf,
     if(error)
       return CURLE_ABORTED_BY_CALLBACK;
   }
+  *done = TRUE;
   return CURLE_OK;
 }