« Return to Thread: Broken ipv6 behavior?

Re: : : Broken ipv6 behavior?

by Raimo Niskanen-2 :: Rate this Message:

Reply to Author | View in Thread

On Wed, Apr 09, 2008 at 02:21:37AM -0700, Matthew Dempsky wrote:

> On Wed, Apr 9, 2008 at 2:04 AM, Raimo Niskanen
> <raimo+erlang-questions@...> wrote:
> >  That it does not work on new Linuxes is a known issue.
> >  Linux took another path than Solaris and removed the
> >  IPv6 resolver functions inet_gethost_native uses.
> >  And that is something that has been on our todo
> >  list for a long time now. But since no paying customer
> >  needs it it remains a not high enough priority.
>
> Is there any technical argument for using getipnodebyname in favor of
> getaddrinfo?  Would a patch to inet_gethost to use the latter instead
> be accepted?

If I recall correctly we already got a patch for that,
but it broke some test cases. I think there were
problems with how to find alias names for the generated
hostent structs that was not supported with
getaddrinfo. So there were things to consider...

A new patch would be nice, or to get the old
again. Otherwise I would have to find the old
by myself.

>
> >  So what is the problem with your MacOS X installation is
> >  what puzzels me.
>
> Okay, I'll send a report tomorrow from OS X when I have a chance.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@...
> http://www.erlang.org/mailman/listinfo/erlang-questions

--

/ Raimo Niskanen, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions

 « Return to Thread: Broken ipv6 behavior?