Expand description
PROXY protocol v1 / v2 header model.
Owns the ProxyProtocolHeader enum, the into_bytes serializers for
both wire versions, and the address helpers (ProxyAddr,
ProtocolSupportedV1, Command, HeaderV1, HeaderV2) shared by the
expect, relay, and send roles. No I/O here; pure data shapes.
Structs§
- Header
V1 - WARNING: proxy protocol v1 is never used in Sōzu, only v2. The tests have been commented out, the whole code may be meant for deletion.
- Header
V2
Enums§
- Command
- Protocol
Supported V1 - Indicate the proxied INET protocol and family
- Proxy
Addr - Proxy
Protocol Header