proxy_protocol v0.0.1 ProxyProtocol.V2.Parser
Handles the binary version of the proxy protocol as defined in section 2.2: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
We are able to directly parse the binary by extracting the relevant sections piece by piece as specified by the protocol
For protocols that we don’t understand we return ‘UNSPECIFIED’ and the buffer
Link to this section Summary
Link to this section Functions
Link to this function
parse(other)
Link to this function
parse_ipv6(arg)
Link to this function
parse_unix(arg)