Bidirectional streaming #1572
Unanswered
benblack769
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to create a web service with bidirectional streaming, i.e. the server should concurrently be receiving new data chunks at the same time it is sending back chunks. This is a key feature of the http/2.0 protocol. Here is my minimal reproducible example:
And here is a way of calling it with a large dataset, generated with
python -c 'print("data"*1000*1000*8)' > massive_request.txt
This call stalls after uploading ~10% of the data, and makes no further progress.
Now I know this should be possible because I managed to get an identical server running with the Quart framework:
And this works perfectly.
Beta Was this translation helpful? Give feedback.
All reactions