[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: TCP v6 and LuaSocket
- From: Alexander Gladysh <agladysh@...>
- Date: Tue, 22 Mar 2011 05:23:31 +0300
On Tue, Mar 22, 2011 at 05:20, Diego Nehab <firstname.lastname@example.org> wrote:
> Would anybody be disappointed if I changed the default behavior in
> LuaSocket to use IPv6 transparently when available?
> I.e., rather than have different functions for IPv6 and IPv4, I was
> considering following the suggested best practice of querying
> getaddrinfo and trying the addresses in order. I would also provide
> improved DNS functions that would support IPv6 and IPv4 transparently.
> What do you think?
As long as you will provide an option to turn this off without
rebuilding the module — go ahead.