On Jan 29, 2006, at 5:07 AM, Jean-frederic Clere wrote:

Jim Jagielski wrote:

There's a bug report (37788) regarding allowing AprEndpoint
to use APR IPv6 addresses. Their patch is almost right, but
instead the value should be to use APR_UNSPEC instead
of APR_INET6 (or the current APR_INET) to allow APR
to correctly determine IP version and do a graceful
recovery... As well as handle cases where APR wasn't
built with IPv6 support.

I'd like to commit that change... comments?

Looking to src/network.c, I have noted:
+++
   if (family > 0) {
       TCN_THROW_IF_ERR(apr_socket_create(&s,
                        f, t, protocol, p), a);
   }
+++
Isn't APR_UNSPEC defined to zero? - that would explain the problem decribed in
http://issues.apache.org/bugzilla/attachment.cgi?id=17525 -


Yep, the Hotspot output also confirms this...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to