Expand description
Connection limits for the mesh listener (P3-K1): caps and timeouts. The per-IP cap and first-frame timeout apply in every admission mode; the idle timeout only under a strict gate.
Structs§
- Limits
- Connection limits.
first_frameandper_ipapply under every gate;idleonly under a strict one (see [AdmissionGate::strict]) and on dialled connections (inbound silence).
Constants§
- FIRST_
FRAME_ TIMEOUT - Default time a peer gets to send its first frame (every admission mode;
kernel.mesh.first_frame_timeout_secs). - HANDSHAKE_
TIMEOUT - Time a peer gets to finish the Noise handshake.
- IDLE_
TIMEOUT - Close an admitted connection idle this long (strict gates only).
- MAX_
CONNECTIONS - Most concurrent inbound connections served at once.
- MAX_
CONNECTIONS_ PER_ IP - Default per-IP concurrent connection cap (every admission mode;
kernel.mesh.max_connections_per_ip). - ROUTE_
CHECK - How often a connection checks that its route still exists and its peer is not revoked (review S1: a revoked or disconnected peer is closed within this).