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 read- and writeloop #127

Merged
merged 2 commits into from
Oct 27, 2024
Merged

Fix read- and writeloop #127

merged 2 commits into from
Oct 27, 2024

Conversation

alengwenus
Copy link
Owner

Raising an asyncio.CancelledError in the read- and write-data loops (e.g., when closing the connection) could led to an unproper handling of this exception.

In addition the collections.deque is replaced by asyncio.Queue which reduces the while loop iterations in the write_data_loop.

@alengwenus alengwenus changed the title Fix read- and writelopp Fix read- and writeloop Oct 27, 2024
@alengwenus alengwenus merged commit 985d841 into dev Oct 27, 2024
10 checks passed
@alengwenus alengwenus deleted the fix/readwriteloops branch October 27, 2024 18:09
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.

1 participant