curl-library
Re: Automatic retry with server errors
Date: Thu, 23 Dec 2010 11:09:02 -0800
On Thu, Dec 23, 2010 at 03:49:48PM +0100, Johan van Selst wrote:
> How about an option such as CURLOPT_IGNORE_SERVER_IPS to pass a comma-
> separated list of addresses that should not be used for a connection?
> (Another option that already uses a comma-seperated list of server names
> is CURLOPT_NOPROXY.)
It might make more sense to reuse the same data structure as is already used
for CURLOPT_RESOLVE. Unlike, CURLOPT_NOPROXY. this list is likely to need
to be dynamically modified on subsequent connections, which is more
efficient to do if it's a linked list instead of a fixed-length string.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-23