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: Phil Blundell <pb_at_reciva.com>
Date: Thu, 12 Nov 2009 17:36:34 +0000

On Thu, 2009-11-12 at 17:10 +0000, Salisbury, Mark wrote:
> The patch isn't specific to numbers, the key to the patch is that it will match based on the beginning of the string instead of the end. So it should work with IPv6 subnets too (I assume that the same concept is applicable with IPv6 where the beginning of the address identifies the larger network, eventually getting down to a specific host at the right end of the address).

String-based matching does seem a little bit unwholesome to me. I agree
with the previous comments that a CIDR scheme would be better, so in
your example above you would write "192.168.0.0/16". This seems like it
would map much better to real-world use cases for both v4 and v6.

p.

-------------------------------------------------------------------
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