Skip to main content

sozu_lib/protocol/proxy_protocol/
mod.rs

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