cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: NO_PROXY as an option for curl_easy_setopt
2008/12/24 A. Craig West <acraigwest_at_gmail.com>:
> Would it be possible to have an option added for curl_easy_setopt to
> specify the proxy exception list, like the NO_PROXY environment
> variable? It seems very awkward to me that this one setting is only
> available through the environment. For now, I am using putenv to set
> it, but it isn't really consistent with how libcurl normally is
Replying to myself is a bad habit... I was just reading over various
archives and manpages, and it occurs to me that I am not certain if
the NO_PROXY environment variable will even work if the proxy is set
up using the CURLOPT_PROXY. There seems to be an implication that
CURLOPT_PROXY disables all of the proxy environment variables, quite
possibly including NO_PROXY. If this is the case, it makes it even
more necessary to add some sort of CURLOPT_NOPROXY setting, as the
only alternative is to write my own code to parse the exception list,
which is duplicating functionality that the library already has...
Received on 2008-12-24
These mail archives are generated by hypermail.
Page updated November 12, 2010.
File upload with ASP.NET
web site info