Skip to main content

Module server

Module server 

Available on crate feature haproxy only.
Expand description

HaProxy Protocol Server support

See the vendored specification at rama-haproxy/specifications/proxy-protocol.txt (upstream: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt).

Structs§

HaProxyLayer
Layer to decode the HaProxy Protocol
HaProxyService
Service to decode the HaProxy Protocol
HaProxyStrictness
Configurable strictness toggles for the PROXY protocol server.
HaProxyTlv
A single TLV (Type-Length-Value) entry as carried in a PROXY protocol v2 header.
HaProxyTlvs
A snapshot of the PROXY protocol v2 TLVs attached to the incoming connection, exposed as an extension on the IO stream so downstream services can inspect them.

Enums§

HaProxyCommand
The PROXY protocol command extracted from a v2 header, exposed as an extension on the IO stream. Useful for services that want to distinguish LOCAL connections (e.g. upstream health checks) from real proxied flows.