Skip to main content

Module uds_server

Module uds_server 

Source
Expand description

UDS RPC server — the same-host ipc serve path, post-ZMQ.

Mirrors QuinnRpcServer: a UnixListener accept loop that hands each accepted connection to the transport-generic serve_rpc_connection over a UdsSession. Same DoS discipline — a server-wide concurrent-stream semaphore (drained on shutdown), a per-connection cap, a bounded handshake, and the per-stream read timeout — and the same process_request dispatch core, so the ipc plane is identical to the quinn/iroh planes save for the socket underneath.

The daemon binds the UnixListener (choosing the path + file mode; peer creds are #207) and runs one of these per spawn-path service. A !Send service is bridged to the Send-bound processor via LocalServiceBridge, exactly as the quinn/iroh serve paths do.

Structs§

UdsRpcServer
A UnixListener-backed RPC server for the same-host ipc plane.