Skip to main content

Module queued_conn

Module queued_conn 

Source

Structsยง

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.

Constantsยง

CONN_QUEUE_SIZE ๐Ÿ”’
Max connections waiting for the PeerPool. The pool takes each one right away, so the queue is rarely full.

Type Aliasesยง

ConnQueueRef ๐Ÿ”’
Queue that hands connections from the listener and the connector to the PeerPool.