Skip to main contentModule queued_conn
Source - Incoming ๐
- A connection and the listener or connector slot it holds. The slot
is freed once the connection is closed.
- QueuedConn ๐
- A connection for the PeerPool to handshake and turn into a
PeerSession.
Carries the raw split halves plus metadata.
- CONN_QUEUE_SIZE ๐
- Max connections waiting for the PeerPool. The pool takes each one
right away, so the queue is rarely full.
- ConnQueueRef ๐
- Queue that hands connections from the listener and the connector to
the PeerPool.