Expand description
Socket I/O wrappers and TCP option helpers.
Hosts the SocketHandler trait, the FrontRustls wrapper that drives
a rustls ServerConnection over a TcpStream, plus the ancillary
getsockopt(TCP_INFO) / TCP-keepalive helpers. The
FrontRustls::socket_write / socket_write_vectored pair is a known
truncation hot spot — keep the two paths structurally symmetric (see
the per-method /// invariants).
Modules§
- stats
- Socket statistics
Structs§
- Front
Rustls - Session
TcpStream TcpStreamwrapped with the owning session’s ULID. Exists so plain-TCP frontends and backends inside the mux stack can prefix SOCKET-layer error logs with[<session_ulid> - - -], matching what TLS-wrapped frontends already do viaFrontRustls::session_ulid.
Enums§
Traits§
Functions§
- server_
bind - udp_
bind - Bind a non-blocking UDP listener socket on
addr. - udp_
connect - Create a non-blocking connected per-flow upstream UDP socket toward
backend.