curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: How to properly re-use an easy handle having CURLOPT_CONNECT_ONLY=1?

From: Ray Satiro via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 31 Jan 2025 01:11:56 -0500

On 1/14/2025 7:02 AM, Aleksander Mazur via curl-library wrote:
> I apparently misunderstood this paragraph as a hint of how libcurl works
> internally (that it simply won't reuse the underlying connection) rather than
> "application MUST NOT pass such easy handle to curl_easy_perform again".

For anyone who followed this thread please note we ended up fixing the
issue. curl 8.12.0 (coming on Feb 5) will allow reuse of a connect-only
easy handle. [1]


[1]: https://github.com/curl/curl/commit/4f99efb1


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-01-31