-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
My problem directly is that there is no way to modify the highWaterMark setting for server responses.
This means that responses are chunked per 16k bytes.
The only point you can change this is at the moment of server creation, by either modifying the highWaterMark option (which affects the incomming messages buffering as well) or by specifying an alternate class for the ServerResponse which could wrap the default and modify the highWaterMark field as it is passed in/on.
Docs: https://nodejs.org/api/http.html#httpcreateserveroptions-requestlistener
The point of all of this is to build a server that can respond in small chunk sizes when, for example, exposing a response as a continuous stream of (small) data.
Additional information
- Would you be willing to help implement this feature?
pi0
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request