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: c-ares channel instances
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Stefan Eissing via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 29 Sep 2025 08:50:34 +0200
> Am 29.09.2025 um 07:08 schrieb Patrick Schlangen via curl-library <curl-library_at_lists.haxx.se>:
>
> Hi,
>
> that allows me to share the DNS cache, but will it also cause c-ares channels to be shared?
No, that is not supported by libcurl. We changed the creation some versions back to be on-demand only. Older libcurl versions created them even when a connection/DNS entry was reused. What version are you running?
- Stefan
>
> Thanks,
>
> Patrick
>
>> Am 29.09.2025 um 01:59 schrieb Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>:
>>
>> Take a look at CURLSHOPT_SHARE
>> --
>> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
>> Etiquette: https://curl.se/mail/etiquette.html
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
> Etiquette: https://curl.se/mail/etiquette.html
Date: Mon, 29 Sep 2025 08:50:34 +0200
> Am 29.09.2025 um 07:08 schrieb Patrick Schlangen via curl-library <curl-library_at_lists.haxx.se>:
>
> Hi,
>
> that allows me to share the DNS cache, but will it also cause c-ares channels to be shared?
No, that is not supported by libcurl. We changed the creation some versions back to be on-demand only. Older libcurl versions created them even when a connection/DNS entry was reused. What version are you running?
- Stefan
>
> Thanks,
>
> Patrick
>
>> Am 29.09.2025 um 01:59 schrieb Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>:
>>
>> Take a look at CURLSHOPT_SHARE
>> --
>> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
>> Etiquette: https://curl.se/mail/etiquette.html
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
> Etiquette: https://curl.se/mail/etiquette.html
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2025-09-29