Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B8857BE6 for ; Thu, 14 Jul 2011 21:28:48 +0000 (UTC) Received: (qmail 75966 invoked by uid 500); 14 Jul 2011 21:28:47 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 75889 invoked by uid 500); 14 Jul 2011 21:28:46 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 75878 invoked by uid 99); 14 Jul 2011 21:28:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 21:28:46 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 21:28:38 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.69) (envelope-from ) id 1QhTSE-0003cL-3f for dev@httpd.apache.org; Thu, 14 Jul 2011 23:28:18 +0200 From: Stefan Fritsch To: dev@httpd.apache.org Subject: Re: svn commit: r1146256 - in /httpd/httpd/trunk: CHANGES server/config.c Date: Thu, 14 Jul 2011 23:28:13 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.39-2-amd64; KDE/4.6.4; x86_64; ; ) References: <20110713192112.069C923889E3@eris.apache.org> <20110714104806.GA11042@redhat.com> In-Reply-To: <20110714104806.GA11042@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201107142328.13964.sf@sfritsch.de> X-Virus-Checked: Checked by ClamAV on apache.org On Thursday 14 July 2011, Joe Orton wrote: > On Wed, Jul 13, 2011 at 07:21:11PM -0000, sf@apache.org wrote: > > Author: sf > > Date: Wed Jul 13 19:21:11 2011 > > New Revision: 1146256 > > > > URL: http://svn.apache.org/viewvc?rev=1146256&view=rev > > Log: > > Use APR_UNSPEC to allow startup on IP6-only systems. > > > > PR: 50592 > > Submitted by: Joe Orton, 2510 > > Thanks, Stefan. I was a little bit unsure about this. For a > "normal" dual-stack system, it does change behaviour; the default > vhost will have host_addr with two addresses, [::] then 0.0.0.0. > (In that order, on my system, which is odd, since getaddrinfo() > should be returning them with [::] last... I started > investingating that but got distracted.) > > But it should be correct to use AF_UNSPEC here. We'll see if > anything breaks, I guess ;) I think AF_UNSPEC should be more correct. But there are so many plattforms with different behaviour that it is impossible to say if it will break something. Simply trying this out in a beta is not the worst thing to do, IMHO. Or would you prefer using the retry-with- APR_INET6 solution?