Skip to main content

Module pipe

Module pipe 

Source
Expand description

Transparent byte-stream forwarder (TCP + WebSocket post-upgrade).

Forwards bytes between front and back through fixed-size buffers without payload inspection. When bytes enter a sozu-owned buffer, the opposite endpoint is armed via Readiness::arm_writable() so edge-triggered epoll cannot park buffered data behind a missing writable edge. Used as the post-handshake state for raw TCP listeners and after a successful WebSocket upgrade on the H1 path.

Structs§

Pipe

Enums§

SessionStatus
WebSocketContext
matches sozu_command_lib::logging::access_logs::EndpointRecords