lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Mar 22, 2011 at 05:20, Diego Nehab <diego@tecgraf.puc-rio.br> 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.

My 2c,
Alexander.