-
-
Notifications
You must be signed in to change notification settings - Fork 737
Allow configuring maxDecompressedMessageSize #4944
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In order to address the potential per-message deflate decompress bomb, the message size was limited to 4MB in 2ee00cb with a configuration option.
That configuration option was then removed in #4891 .
I understand the reasoning behind removing the configuration option, but it effectively limits any decompressed message to 4MB without providing the consumer the ability to set their own limit. AFAICT, the only way forward is to use a different library such as ws.
The removal PR mentions the ability to provide configuration via a dispatcher. Creating this issue to track progress on that enhancement as we would like to continue using undici bundled in node, but need the ability process messages larger than 4MB.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request