Constants§
- BACKLOG_
SIZE - Server
- CONTROL_
CHANNEL_ SIZE - DATA_
BUFFER_ SIZE - DATA_
CHANNEL_ SIZE - DEFAULT_
CLIENT_ DATA_ CHANNEL_ CAPACITY - DEFAULT_
CLIENT_ RETRY_ INTERVAL_ SECS - Client
- DEFAULT_
CONNECT_ TIMEOUT_ SECS - Deadline for establishing a connection: TCP connect, TLS handshake and the
WebSocket upgrade. None of those steps carry a protocol-level message, so
MESSAGE_TIMEOUT_SECSdoes not cover them - without this a peer that accepts the connection and then goes silent parks the dial forever. - DEFAULT_
HEARTBEAT_ INTERVAL_ SECS - Application-layer heartbeat interval in secs
- DEFAULT_
HEARTBEAT_ TIMEOUT_ SECS - DEFAULT_
KEEPALIVE_ INTERVAL - DEFAULT_
KEEPALIVE_ SECS - DEFAULT_
NODELAY - TCP
- HANDSHAKE_
TIMEOUT - LISTENERS_
PER_ FD - MESSAGE_
TIMEOUT_ SECS - UDP_
BUFFER_ SIZE - UDP MTU. Currently far larger than necessary
- UDP_
SENDQ_ SIZE - UDP_
TIMEOUT - WEBSOCKET_
READ_ BUFFER_ SIZE - WebSocket read buffer chunk size (tungstenite
read_buffer_size).