Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug 1241 by calling acknowledge_received_data #1282

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Fix bug 1241 by calling acknowledge_received_data #1282

merged 1 commit into from
Apr 30, 2024

Conversation

Yaakov-Belch
Copy link

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:

  • Call conn.acknowledge_received_data() when data has been received.
  • Pass the correct data size: event.flow_controlled_length from the DataReceived event to this function.

@Kriechi Kriechi merged commit 0dd0bf2 into python-hyper:master Apr 30, 2024
0 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants