cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Connecting to multiple hosts that have the same hostname

From: Rich Gray <rgray_at_plustechnologies.com>
Date: Tue, 02 Jun 2015 10:21:52 -0400

Daniel Stenberg wrote:
> On Tue, 2 Jun 2015, Michael Kaufmann wrote:
>
>> A callback function for the name resolution would be a powerful mechanism.
>> Similar to CURLOPT_OPENSOCKETFUNCTION, but a bit on a "higher level". This
>> new callback function should be able to either return an address, or to
>> tell libcurl to proceed with the normal name resolution.
>
> Sounds reasonable!

I'm really unfamiliar with how this works, but maybe this would be a point
to give the callback some ability to specify how/where the address is/isn't
cached too?

- Rich
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-06-02