sozu_lib/protocol/proxy_protocol/mod.rs
1//! HAProxy PROXY protocol v2 state surface plus the legacy v1 header model.
2//!
3//! Runtime expect, relay and send states use v2 only; v1 is not accepted on
4//! the wire.
5//!
6//! Three distinct session roles compose into the front-end pipeline:
7//! `expect` ingests an inbound v2 header and hands off to the downstream
8//! protocol; `relay` forwards an existing v2 header verbatim onto a new
9//! backend connection; `send` synthesises a v2 header before user bytes.
10//! `header` and `parser` own the wire format. Long-form lifecycle:
11//! `lib/src/protocol/proxy_protocol/LIFECYCLE.md` (created in this
12//! changeset).
13
14pub mod expect;
15pub mod header;
16pub mod parser;
17pub mod relay;
18pub mod send;