Skip to main content

Module server

Module server 

Source

Structs§

ServerAuth
Authentication material and DoS bounds applied before a TCP connection may reach the frame router.

Enums§

ConnectionError
ServerError

Constants§

CONNECTION_EGRESS_BUFFER
DEFAULT_AUTH_DEADLINE
DEFAULT_MAX_UNAUTHENTICATED_CONNECTIONS

Functions§

handle_connection
Run the authenticated frame read -> route loop for one connection.
serve_listener
Serve an already-bound TCP listener. Each accepted connection gets its own async task so concurrent clients do not block the accept loop.
serve_listeners
Serve all already-bound loopback TCP listeners until one accept loop fails.