Skip to content

Format IPv6 listener addresses with brackets #543

Description

@dajiaohuang

The daemon's advertised listenerUrl/httpUrl interpolate the configured host directly. For an IPv6 literal such as ::1, this produces http://::1:, which is not a valid URL authority; clients cannot parse the endpoint and port-hunt identity probes fail. Bracket IPv6 literals when formatting URLs while preserving the unbracketed host for socket binding.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions