Skip to content

Enforce non-zero max_message_bytes - #26

Merged
KushagarGoel1 merged 2 commits into
mainfrom
fix/nonzero-max-message-bytes
Oct 22, 2026
Merged

KushagarGoel1 merged 2 commits into
mainfrom
fix/nonzero-max-message-bytes

Conversation

@sprihaanand-juspay

Copy link
Copy Markdown
Collaborator

Setting STREAMGRES_MAX_MESSAGE_BYTES=0 silently disabled the 16 MiB WebSocket message size cap. The value is now validated at startup: zero or non-numeric values are refused with a clear configuration error.

@KushagarGoel1
KushagarGoel1 merged commit 4d02402 into main Oct 22, 2026
19 checks passed
@KushagarGoel1
KushagarGoel1 deleted the fix/nonzero-max-message-bytes branch October 22, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants