Stas Bekman wrote:
Sander Temme wrote:


On Mar 18, 2004, at 12:21 AM, Sander Striker wrote:


I've put the 2.0.49 tarballs up at:



I'm not entirely happy about IPv6/IPv4 behaviour on at least FreeBSD 5.2.1 and MacOSX 10.3.{2,3}, possibly others.


I'm seeing the following when running the perl-framework. All three boxes have IPv6 enabled. The perl-framework configures its Apache to Listen on localhost:8529 (and a bunch of other ports). This results, on all three machines, in the httpd only binding to ::1 for all ports. Apparently the LWP stuff that perl-framework uses only knows about IPv4, so all tests fail.

On the BSD box, when I switch the localhost lines so that IPv4 (127.0.0.1) comes before IPv6 (::1), and re-run the tests, I see the server (using netstat) bind to only IPv4. Tests succeed.

I don't know how to make the same switch on the Macs: they tend to use NetInfo for this stuff when running multi-user, but the NetInfo database contains only IPv4 information.

I don't know enough about IPv6 to know what's going on here (maybe I should change that), and I don't know if Apache is doing anything wrong here... can it do anything but ask the OS for what localhost is, and live with the answer? Is the practice to degenerate 127.0.0.1 and ::1 into the name localhost, broken?

I have not had the chance to test this on earlier releases.

Sander, please try again with the current cvs, Philippe has just committed a change that now uses 'Listen 0.0.0.0:$port' to force listening on ipv4. If still in trouble, pleast post a followup to the httpd-test-dev mailing list. Thanks.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to