Skip to content

support ipv6 by using luasocket #116

Open

Description

@jzdwk

@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

Activity

  1. leafo commented on Mar 17, 2022

    @leafo
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions