cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_setopt to allow for specifying the IP for connect() ? -> DNS_CACHE flexibility

From: m. allan noah <man_at_tfhs.net>
Date: Tue, 11 Jul 2006 21:06:51 -0400 (EDT)

you are familiar with c-ares, right?

allan

On Tue, 11 Jul 2006, Geff wrote:

> Thanks for the suggestion.
>
> At this point, I'm better off writing a resolver because I can reuse that for
> other purposes. I haven't found periodically re-applying patches is very
> promising when applied against non-enterprise software.
>
> Mohun Biswas wrote:
>> Geff wrote:
>>> Seems like a fairly simple patch to write and support. I'm thinking a
>>> "populator" (which you seemed OK with) and a conditional around calling
>>> the resolver or not if a flag of "CACHEONLY" is set or not.
>>
>> Don't forget that one of your options is to write the patch anyway and just
>> apply it to your version before building. It's a small additional step,
>> performed only every few months or years, and that way you have the patch
>> ready if Daniel changes his mind or more votes come in. Are you sure this
>> isn't the best option left on the table?
>>
>> MB
>
Received on 2006-07-12