curl-library
Re: Reducing the number of DNS queries in the multi handle.
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 26 Nov 2008 06:53:45 -0600
Date: Wed, 26 Nov 2008 06:53:45 -0600
On Wed, Nov 26, 2008, Daniel Stenberg wrote:
> On Wed, 26 Nov 2008, Tsachi wrote:
>> Is there a way to know that I got a DNS response before the actual
>> http connection starts (callback / info) ?
> No, there's no dedicated way for this. When data is delivered is pretty much
> your only way to know I think.
What about a curl_sockopt_callback, wouldn't that get called right after
the name resolve (but before the http request)?
- Jeff
Received on 2008-11-26