Skip to main content

Module quic

Module quic 

Source
Expand description

The QUIC endpoint: transport parameters, the accept loop and peer metadata.

Structs§

AuthGate
Whether a connection has got past the door, shared by everything that asks.
PeerInfo
What the handshake revealed about a peer, for logging.
ReloadHandle
Replaces the configuration of a running server.
Server
A bound QUIC endpoint ready to accept connections.

Constants§

CONNECTION_RECEIVE_WINDOW
Aggregate flow-control window for one connection, in bytes.
FD_HEADROOM
Descriptors assumed to be needed beyond the tunnel quota: the endpoint socket, the request streams, stdio, and the certificate reads a reload does.
INITIAL_BIDI_STREAMS
Bidirectional streams a peer may have open before it has authenticated.
MAX_PEER_UNI_STREAMS
Unidirectional streams a peer may have open on one connection at a time.
SEND_WINDOW
Aggregate unacknowledged outbound stream data per connection, in bytes.
STREAM_RECEIVE_WINDOW
Per-stream flow-control window, in bytes.

Functions§

peer_info
Extracts loggable handshake metadata from an established connection.