I was responsible for the first Squid IPv6 patch destined to bit-rot. Having
observed the error of my ways if not actually learnt by re-doing, I second
Adrian's excellent advice! Also it is important to emphasise Henrik's point
that Squid still needs to compile on boxes that do not have the standard
IPv6 facilities available, ie. There needs to be at least a couple of
ifdef's retained forever, although as few as possible is preferable.
Roger.
-----Original Message-----
From: Adrian Chadd [mailto:adrian@creative.net.au]
Sent: Thursday, 3 March 2005 12:58 PM
To: squid-dev@squid-cache.org
Subject: Re: IPv6 support
I know this may not be completely relevant to the ipv6 discussion, but you
buy a lot of flexibility if you abstract out the socket API /usefully/.
You're then able to do the following:
* easily deal with the different crack unices have when twiddling
socket stuff (eg, via ioctls, grabbing the source address of
connections in client_side.c(c) or http.c(c), etc.)
* supporting wildly(!) different APIs, such as windows
The only place I see this really breaking is in the ACL code.
Adrian
-- Adrian Chadd "You don't have a TV? Then what's <adrian@creative.net.au> all your furniture pointing at?"Received on Thu Mar 03 2005 - 07:24:27 MST
This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:04 MST