Skip to content

feat(io/sse): make the SSE inbound buffer cap an SseOptions field #371

Description

@pathosDev

Post-merge review follow-up. src/io/broker/SseActor.ts bounds the inbound buffer with a hardcoded module constant SSE_MAX_BUFFER_CHARS = 1_048_576 (security audit BRK-2). Every other broker cap of this kind is a configurable option; per the repo convention ("every sensible setting in HOCON / on the options type"), this should be an SseOptions field (with a validator + HOCON leaf) rather than a fixed constant, so operators can tune it for legitimately larger SSE frames.

Out of scope for the initial post-merge reconciliation (WP1–WP7); filed for later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: lowNice-to-have / niche / demand-drivensecuritySecurity-relevant — see severity label for impact tierseverity: lowMinor / informational / mitigated-by-design

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions