You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unit currently buffers the entire client request before sending it to an upstream target. This target could be an application or an upstream HTTP service. Either way, Unit will not start transferring data until it has the whole request from the client.
In order to support more expedient request processing Unit could possibly start streaming its requests to upstream and application targets as soon as it begins receiving data from the client. In order to accomplish that this ticket embodies the following work
Identifying features in request processing that need to act on the request data before it gets to the upstream (rewrites, authentication, etc).
Identifying which interfaces need to be extended to support operating on an incoming stream of data and extending them.
Modifying the Unit event engine to start sending data to targets immediately as incoming data from the client is received and processed.
The text was updated successfully, but these errors were encountered:
@avahahn just curious to know. as at present router store the whole request body-content in buffer. and then send to upstream server or application. Under new implementation, there won't be any need of buffering of whole request right? or would it still be there ?
@avahahn just curious to know. as at present router store the whole request body-content in buffer. and then send to upstream server or application. Under new implementation, there won't be any need of buffering of whole request right? or would it still be there ?
With the current implementation of chunked requests, Unit will still buffer the request up and then convert it to a 'Content-Length' request to pass onto the application.
Unit currently buffers the entire client request before sending it to an upstream target. This target could be an application or an upstream HTTP service. Either way, Unit will not start transferring data until it has the whole request from the client.
In order to support more expedient request processing Unit could possibly start streaming its requests to upstream and application targets as soon as it begins receiving data from the client. In order to accomplish that this ticket embodies the following work
The text was updated successfully, but these errors were encountered: