feat(nunciod): bound gRPC server concurrency/streams/timeout/message size #355

Merged
KofTwentyTwo merged 1 commits from story/ws-d8-grpc-limits into dev 2026-07-31 22:27:03 +00:00
1 Commits
Author SHA1 Message Date
James Maes fce7283433 feat(nunciod): bound gRPC server concurrency/streams/timeout/message size
Add sensible resource bounds to the tonic Server builder so a
misbehaving or malicious client cannot exhaust the daemon: a
per-connection concurrency limit, a per-call timeout generous enough
for the longest legitimate unary sync, an HTTP/2 concurrent-stream
cap, a per-service inbound message-size limit raised above tonic's
default to fit real mail attachments, and TCP/HTTP2 keepalive.

Refs #304
2026-07-31 17:24:08 -05:00