From dev-return-18476-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Wed Jun 06 18:05:47 2007 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 85235 invoked from network); 6 Jun 2007 18:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 18:05:46 -0000 Received: (qmail 93905 invoked by uid 500); 6 Jun 2007 18:05:49 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 93847 invoked by uid 500); 6 Jun 2007 18:05:49 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 93818 invoked by uid 99); 6 Jun 2007 18:05:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 11:05:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [65.99.219.155] (HELO haxent.com) (65.99.219.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 11:05:43 -0700 Received: from [192.168.200.102] (unknown [201.21.180.98]) by haxent.com (Postfix) with ESMTP id C4214388E3; Wed, 6 Jun 2007 15:05:21 -0300 (BRT) Message-ID: <4666F75D.1020806@haxent.com.br> Date: Wed, 06 Jun 2007 15:05:17 -0300 From: Davi Arnaut User-Agent: Thunderbird 2.0.0.0 (X11/20070503) MIME-Version: 1.0 To: lucian.grijincu@gmail.com Cc: "William A. Rowe, Jr." , dev@apr.apache.org Subject: Re: [Vote] Release APR 1.2.9/0.9.14 and apr-iconv 1.2.0 References: <46649707.6010808@rowe-clan.net> <4d45da050706051709xcb3c061gfe56c73223a24ffc@mail.gmail.com> <466650B1.4060203@rowe-clan.net> <4d45da050706060140v73014bdr9784afab278526bd@mail.gmail.com> <4d45da050706060439n45645cbexd5aaf6389df6ceb8@mail.gmail.com> <4d45da050706060806u645e636q4124f1d0c02cfbea@mail.gmail.com> In-Reply-To: <4d45da050706060806u645e636q4124f1d0c02cfbea@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Lucian Adrian Grijincu wrote: > I've gotten it down to this: > int getaddrinfo(const char *node, const char *service, > const struct addrinfo *hints, > struct addrinfo **res); > > getaddrinfo hates "::1" as a node parameter. > I've attached a tester for getaddrinfo (based on Ulrich Drepper's > http://people.redhat.com/drepper/userapi-ipv6.html ) > > > If anyone's got a clue, please say so ... I'm kind of in the mists now :) > If not, when I get the time, I'll look into telnet's implementation to > see what they do to accept "::1" > See my email about it, message id <4666CFB0.4000700@haxent.com.br> It boils down to a combination of ai_flags = AI_ADDRCONFIG and "::1" (loopback address). The test is wrong, it should expect a failure (with the current network_io code adding the AI_ADDRCONFIG flag). -- Davi Arnaut