Open jzdwk opened 2 years ago
Happy to accept a patch. I don't think luasocket has an option to correct the correct tcp socket type for a hostname, so an option to force ipv6 would most likely be necessary.
Alternatively, you can try using the cqueues
socket type. It's a more up to date library and may already work as expected.
@leafo luasocket is compatible with ipv6 by using socket.tcp6(), but pgmoon only uses socket.tcp(). so could it be a future task to improve upper-layer system(such as kong) by adding support for ipv6? more discussions please see