curl-library
Re: [patch] Ignore specific IPs in connections
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 5 Jan 2011 11:39:28 -0800
Date: Wed, 5 Jan 2011 11:39:28 -0800
On Wed, Jan 05, 2011 at 01:55:48PM +0100, Johan van Selst wrote:
> Curl already does automatic fail-over to another address if a connection
> is refused, but there is no way to connect to ignore a specific server
> in a DNS load-balanced setup when it is reachable.
You can already provide this functionality by installing a
CURLOPT_OPENSOCKETFUNCTION and rejecting those addresses that match the
blacklist.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-05