Improve WSGI behavior for large requests.
apollo13 opened this issue · comments
Currently the whole request body is buffered in memory even when it doesn't have to be:
hypercorn/src/hypercorn/app_wrappers.py
Line 70 in c0468e5
a2wsgi
utilizes a thread pool to properly stream this in. Would this be worth to add to hypercorn as well (I realize it will increase complexity, but on the other hand it would be nice to have a modern [somewhat performant] wsgi/asgi server).