From cc884c08a88ec77f50eca883b55e7e4cfb697761 Mon Sep 17 00:00:00 2001 From: Andreas Westin Date: Thu, 17 Apr 2025 10:46:35 +0200 Subject: [PATCH] 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 --- lib/cf-socket.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.3