Module proxy_protocol

Module proxy_protocol 

Source
Expand description

PROXY protocol v2 implementation

Implements HAProxy’s PROXY protocol version 2 for passing client connection information to backend servers in a binary header format.

Reference: https://www.haproxy.org/download/2.9/doc/proxy-protocol.txt

Functions§

build_proxy_v2_header
Builds a PROXY protocol v2 header for TCP connections
build_proxy_v2_local_header
Builds a minimal PROXY protocol v2 header for LOCAL command (no address info)