httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm MacCarthaigh,,," <colmm...@stdlib.net>
Subject Re: [PATCH] Default Listen with IPv6 enabled incorrect
Date Tue, 12 Aug 2003 14:22:01 GMT
On Mon, Aug 11, 2003 at 07:28:20PM -0700, Justin Erenkrantz wrote:
> Listen 8080

If IPv6 has been enabled, that should bind to :: , this is the standard
behaviour of all IPv6 apps, and to not do so would be utterly broken.
If by some quirk the OS doesnt support IPv4 over IPv6 sockets, then
getaddrinfo PF_UNSPEC magic should return the correct linked list to
handle this.

Changing this would break a lot of existing installs on people!

> Any arguments on tossing the find_default_family function altogether, and
> just going to 0.0.0.0 when the addr isn't specified?  If you want IPv6, you
> should explicitly specify it with 'Listen ::8080' or something, 

This would be a bug. It's not like IPv6 is an optional extra!

> but
> assuming that since we have IPv6 available that the unqualified addresses
> must be IPv6 doesn't make sense and is badness.  -- justin

I think you this 100% the wrong way around. It's extreme goodness,

-- 
Colm MacCárthaigh                        Public Key: colm+pgp@stdlib.net
colm@stdlib.net					  http://www.stdlib.net/

Mime
View raw message