Buy commercial curl support from WolfSSL. 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
himself.
Re: Can Curl round-robin IP addresses for successive connects?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Jason Proctor via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 6 Oct 2020 14:51:09 -0700
On Thu, Oct 1, 2020 at 10:21 AM Rainer Canavan via curl-library
<curl-library_at_cool.haxx.se> wrote:
>
> I think you should set up one curl handle for each address using CURLOPT_RESOLVE
> and then re-use the handles round-robin, so that you can benefit from
> connection
> re-use on TCP-connections that are already warmed up, as well as parallelism to
> multiple servers.
Thanks for the response.
We ended up making our own round-robin DNS resolver and planting
addresses into Curl handles using CURLOPT_RESOLV. Seems to have
helped!
regards
Jason_at_Spatial
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-10-06
Date: Tue, 6 Oct 2020 14:51:09 -0700
On Thu, Oct 1, 2020 at 10:21 AM Rainer Canavan via curl-library
<curl-library_at_cool.haxx.se> wrote:
>
> I think you should set up one curl handle for each address using CURLOPT_RESOLVE
> and then re-use the handles round-robin, so that you can benefit from
> connection
> re-use on TCP-connections that are already warmed up, as well as parallelism to
> multiple servers.
Thanks for the response.
We ended up making our own round-robin DNS resolver and planting
addresses into Curl handles using CURLOPT_RESOLV. Seems to have
helped!
regards
Jason_at_Spatial
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-10-06