curl-library
Re: Specifying "No Proxy For" domains
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 28 Jul 2002 20:13:42 +0200 (MET DST)
Date: Sun, 28 Jul 2002 20:13:42 +0200 (MET DST)
On Mon, 22 Jul 2002, Holger Rauch wrote:
> I'm new to libcurl and I'm wondering whether it's possible to specify
> domains for which no proxy should be used (analogous to the "No Proxy For"
> input field in Netscape)? I'm using curl/libcurl version 7.9.8. Here's my
> code, heavily based on the example provided. Maybe there is an option that
> I've overlooked?
No, unfortunately there is no such option. There is only the CURLOPT_PROXY.
You *can* however set the environment variable 'NO_PROXY', which is taken
into account, but it isn't a very friendly API...
I wouldn't mind if someone added such an option.
-- Daniel Stenberg -- curl groks URLs ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-07-28