python-hyper / h2

HTTP/2 State-Machine based protocol implementation
https://h2.readthedocs.io/en/stable
MIT License
963 stars 151 forks source link

Fix bug 1241 by calling acknowledge_received_data #1282

Closed Yaakov-Belch closed 5 months ago

Yaakov-Belch commented 5 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: