python-hyper / h2

Pure-Python HTTP/2 protocol implementation
https://python-hyper.org/
MIT License
969 stars 157 forks source link

Fix bug 1241 by calling acknowledge_received_data #1282

Closed Yaakov-Belch closed 7 months ago

Yaakov-Belch commented 7 months ago

Fix bug #1241: asyncio-server.py example is not working correctly.

The bug was caused by not updating the Flow Control Window when receiving data. The necessary steps are documented here:

In short, all that needs to be done is: