Skip to content

gh-157025: Fix transport cleanup when cancelling asyncio native sendfile - #157027

Merged
kumaraditya303 merged 2 commits into
python:mainfrom
lpyu001:asyncio
Sep 7, 2026
Merged

gh-157025: Fix transport cleanup when cancelling asyncio native sendfile#157027
kumaraditya303 merged 2 commits into
python:mainfrom
lpyu001:asyncio

Conversation

@lpyu001

@lpyu001 lpyu001 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Ensure cancellation while native sendfile waits for the write buffer to drain resets the empty waiter, restores the prior reading state, and restores the selector transport registry entry.

… sendfile

Ensure cancellation while native sendfile waits for the write buffer to drain resets the empty waiter, restores the prior reading state, and restores the selector transport registry entry.
Comment thread Lib/asyncio/proactor_events.py Outdated
@kumaraditya303
kumaraditya303 merged commit 7a1d2c4 into python:main Sep 7, 2026
55 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