curl / Mailing Lists / curl-library / Single Mail
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: CURLOPT_RESOLVE and 7.19

From: Felipe Gasper via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 26 Nov 2020 21:14:16 -0500

> On Nov 26, 2020, at 5:28 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Thu, 26 Nov 2020, Felipe Gasper via curl-library wrote:
>
>> I work on software that we deploy to CloudLinux 6, whose system curl is 7.19.
>
> Even if that's the last one in the 7.19.x series, it would still make it older than *11 years*. You should seriously consider upgrading.

I’d love if we could either ship our own curl or convince our users to upgrade. Alas.

>
>> I was able to find a way to work around 7.19’s lack of native UNIX socket support via CURLOPT_OPENSOCKETFUNCTION; might there be a similar way to work around 7.19’s lack of CURLOPT_RESOLVE support?
>
> CURLOPT_OPENSOCKETFUNCTION for that too?

If I understand correctly, curl would still do its own DNS lookup? We’d just be tossing it aside?

That’s probably the most workable option. Thanks!

-FG
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2020-11-27