[Epic] Support Transfer-Encoding: chunked
for all data flows
#1278
Labels
T-Other
Epics, refactors, and miscellaneous tasks
Right now Unit does not support incoming requests with
Transfer-Encoding: chunked
.We should do so.
There are two main data paths: proxying to an external upstream, and passing to a Unit-hosted application runtime.
There are also two possible operation modes: buffering the incoming request until completion, then forwarding it on with
Content-Length
, or directly streaming while the request is still incoming. We'll do the first, then leave the latter for future potential optimization.Necessary Tasks:
Potential Tasks:
The text was updated successfully, but these errors were encountered: