Skip to content

Avoid blocking reads in the sync implementation. - #1778

Merged
aaugustin merged 4 commits into
mainfrom
issue-1777
Oct 14, 2026
Merged

aaugustin merged 4 commits into
mainfrom
issue-1777

Conversation

@aaugustin

Copy link
Copy Markdown
Member

This makes it possible to interrupt it reliably.

Fix #1777.

@aaugustin
aaugustin force-pushed the issue-1777 branch 4 times, most recently from 556811e to bdd2e2c Compare October 14, 2026 19:54
This makes it possible to interrupt it reliably.

Fix #1777.

Add tests for the "unexpected error" path, which isn't execised by tests
anymore since we don't interrupt recv() anymore by closing the socket.

Improve consistency with the trio implementation.
Revert parts of 940fd40.

The main test added in this commit is kept.
@aaugustin
aaugustin merged commit 3d79257 into main Oct 14, 2026
8 checks passed
@aaugustin
aaugustin deleted the issue-1777 branch October 14, 2026 20:43
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.

Replace blocking reads with read-readiness in the synchronous implementation

1 participant