Skip to content

refactor: move peer address headers to utility #73

Description

@meejah

FWIW on the prod server, the IPv6 connections get a request.peer like tcp6:addr:addr::addr:addr:port, and the IPv4 connections get one like tcp6:::ffff:8.8.8.8:port. This logic looks right to me, let's land it, but maybe some future cleanup could factor this out into a utility function for easier unit testing.

Originally posted by @warner in #63 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions