|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
IP address support for no proxy feature
From: Salisbury, Mark <mark.salisbury_at_hp.com>
Date: Wed, 11 Nov 2009 22:12:13 +0000
Hello,
I would like to submit a patch to allow IP addresses to be included in the list of no proxy hosts.
Currently the no proxy logic allows for domain names to be specified. For instance, specifying "hp.com" will prevent the proxy from being used for accessing all hosts that end in "hp.com". However, if I want to prevent the proxy from being used for a range of IP addresses I don't have any way to do this, since the logic in check_noproxy only compares the end of the requested host against the entry in the no proxy list.
With this change, it is possible to specify a no proxy list like "192.168.*", which would prevent the proxy from being used to access any host that begins with "192.168.", for instance http://192.168.0.1/ would not go through the proxy server with this change.
I created a short list of hosts and a no proxy list with this change and could not see any ill side effects from this change.
I used Tortoise SVN to create my patch, against a repository where I have libcurl code checked in (version 7.19.7).
Thanks,
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 16, 2009.
web site info