Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

proxyname/1 does not return proxy_protocol_info() #46

@jimdigriz

Description

@jimdigriz

The documentation says proxyname/1 returns proxy_protocol_info(), it actually returns:

{ok,{{inet:ip_address(), inet:port_number()}, {inet:ip_address(), inet:port_number()}}}

Looking at the code, looks like the code is wrong (spec at the function matches the docs, but proxy_opts() is what is wanted), problem is to fix this would break backwards compatiblity.

Maybe a new function, or just amend the docs and drop proxy_protocol_info()/proxy_opts()` altogether?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions