From: Andreas Westin Date: Thu, 17 Apr 2025 08:46:35 +0000 (+0200) Subject: cf-socket: fix FTP accept connect X-Git-Tag: curl-8_14_0~212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc884c08a88ec77f50eca883b55e7e4cfb697761;p=thirdparty%2Fcurl.git cf-socket: fix FTP accept connect 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 --- diff --git a/lib/cf-socket.c b/lib/cf-socket.c index 4c71296290..43a80ee448 100644 --- a/lib/cf-socket.c +++ b/lib/cf-socket.c @@ -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; }