Skip to content

Check for wakeup socket errors on read and close and reinit to reset - #2482

Merged
dpkp merged 3 commits into
masterfrom
dpkp/wakeup-socketpair-recycle
Feb 16, 2025
Merged

dpkp merged 3 commits into
masterfrom
dpkp/wakeup-socketpair-recycle

Conversation

@dpkp

@dpkp dpkp commented Feb 15, 2025

Copy link
Copy Markdown
Owner

Attempt to be a bit more defensive with wakeup socketpair. Check for socket error and rebuild socketpair if necessary. Use a _waking flag to avoid writing more bytes to the socketpair when it's not needed. Raise errors on failed write attempts.

@dpkp
dpkp force-pushed the dpkp/wakeup-socketpair-recycle branch from 80f015a to f460b26 Compare February 15, 2025 18:35
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