apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spinka, Kristofer" <kspi...@style.net>
Subject RE: getaddrinfo() on HP-UX 11i
Date Wed, 17 Mar 2004 04:28:54 GMT
Has anyone tried to use getaddrinfo with the AI_V4MAPPED flag (perhaps even
OR'd with AI_ALL) and the family set to AF_INET6?  From what I gleaned from
a brief look at httpd, the consumer in question, it appears as though
IPv4-mapped addressing is used in general.

Looking through the CVS code for network_io/unix/sockaddr.c ( from
March 6th, it seems as though getaddrinfo is one of the few areas that
wasn't properly upgraded to use v4 mapped addresses.  While the standard
IPv4 API should work, HP-UX seems to prefer IPv6 everywhere (map v4's when

Can you tell me how to reproduce this issue on 11.23, so I may verify this?


-----Original Message-----
From: Jeff Trawick [mailto:trawick@attglobal.net] 
Sent: Tuesday, March 16, 2004 1:19 PM
To: dev@apr.apache.org
Subject: Re: getaddrinfo() on HP-UX 11i

Joe Orton wrote:
> Was the conclusion to this thread to not change APR?  

I thought the conclusion was that "my" boxes were special ;)

> There do seem to
> be lots of 11i boxes "out there" which have got into the state where
> getaddrinfo is found in libc but non-functional.


> If Madhu says that getaddrinfo is first present in the base 11.23
> release, I think it would be sensible to simply disable getaddrinfo on
> pre-11.23 releases e.g. (untested):

sounds reasonable, but I'm curious about what the user would do if they
the optional IPv6 support to one of these pre-11.23 releases and wanted apr
support it

View raw message