-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We want to read a request line, execute the query, flush the response and continue to the next request line. This will prevent huge requests to buffer in the application's RAM.
The native go http server closes the request body after the first byte is flushed to the response.
So to flush the response as soon as possible we need to read the entire request, and to read the request line by line we need to buffer the entire response.
In both situations huge requests or responses will cause huge RAM usage.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request