curl-library
Re: [PATCH]: allow clients to set the name servers
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Sep 2011 08:14:44 +0200 (CEST)
Date: Thu, 29 Sep 2011 08:14:44 +0200 (CEST)
On Wed, 28 Sep 2011, Ben Greear wrote:
> Last time I posted a similar patch, I think it was requested that the option
> name be more generic. I ended up with CURLOPT_DNS_SERVERS, just in case
> some day it supports more than just c-ares.
Good point!
I would also prefer to have the function return CURLE_NOT_BUILT_IN if libcurl
wasn't built to support the option (rather than unknown option).
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-09-29