cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

RE: IP address support for no proxy feature

From: Salisbury, Mark <mark.salisbury_at_hp.com>
Date: Wed, 11 Nov 2009 23:22:09 +0000

curl_easy_setopt.3 (docs\libcurl\curl_easy_setopt.3) is the man page, right?

I also see curl_easy_setopt.html and curl_easy_setopt.pdf. Are these automatically generated based off the man page?

Here's the current entry in curl_easy_setopt.3:

.IP CURLOPT_NOPROXY
Pass a pointer to a zero terminated string. The should be a comma- separated
list of hosts which do not use a proxy, if one is specified. The only
wildcard is a single * character, which matches all hosts, and effectively
disables the proxy. Each name in this list is matched as either a domain which
contains the hostname, or the hostname itself. For example, local.com would
match local.com, local.com:80, and www.local.com, but not www.notlocal.com.
(Added in 7.19.4)

Here's how I'd propose updating it:

.IP CURLOPT_NOPROXY
Pass a pointer to a zero terminated string. This should be a comma-separated
list of hosts which do not use a proxy, if one is specified. To disable the
proxy, set a single * character. Each name in this list is matched as either
a domain which contains the hostname, the hostname itself, or an IP address
range. For example, local.com would match local.com, local.com:80, and
www.local.com, but not www.notlocal.com. 192.* will match all hosts
beginning with 192, like 192.168.1.100. It will not match 10.10.10.192.
(Added in 7.19.4, updated to support IP address ranges in 7.19.8)

Thanks,
Mark

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Yang Tse
Sent: Wednesday, November 11, 2009 3:45 PM
To: libcurl development
Subject: Re: IP address support for no proxy feature

2009/11/11, Salisbury, Mark wrote:

> I would like to submit a patch to allow IP addresses to be included in the
> list of no proxy hosts.

At least CURLOPT_NOPROXY section in curl_easy_setopt.3 should be
updated accordingly to reflect and document the new capability this
would introduce.

Cheers,

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-12

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET