Expand description
Public types for protocol detection results stored on
ConnContext.user by the listener-side peek prelude.
See spec/architecture/06-l4.md § Protocol detection. The
detector functions themselves (which run rustls’s Acceptor to
parse a ClientHello) live in vane-engine since rustls is an
engine-level dependency. Predicates and middleware in vane-core
reach the buffer + parsed fields through the types defined here.
Structs§
Enums§
Constants§
- MAX_
PEEK_ BYTES - Maximum number of bytes the listener-side peek prelude accumulates
before declaring the connection’s prefix
Unknown. Mirrorsspec/architecture/06-l4.md§ Protocol detection’s 8 KiB cap.