Re: How to properly re-use an easy handle having CURLOPT_CONNECT_ONLY=1?
Ray Satiro via curl-library <[email protected]>
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <[email protected]> |
On 1/31/2025 1:11 AM, Ray Satiro wrote: > 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 > It occurs to me I should clarify that it is already possible to reuse connect-only easy handles in a multi with curl_multi_remove_handle -> curl_multi_add_handle. What the fix allows is reusing connect-only easy handles with curl_easy_perform. -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html