cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Limiting IP addresses CURL is allowed to connect to.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Aug 2008 23:09:19 +0200 (CEST)

On Thu, 7 Aug 2008, Dan Fandrich wrote:

>> Perhaps it's time to reconsider the idea and brush up the patch...
>
> Wasn't this implemented as the CURLOPT_OPENSOCKETFUNCTION?

Ah you're right! Damn, my memory is not serving me at all at times...
CURLOPT_OPENSOCKETFUNCTION is exactly what should be used to add "black lists"
or "preparing actions for upcoming connections" etc of specific addresses.

-- 
  / daniel.haxx.se
Received on 2008-08-07