Skip to content

Deliver hangup events to blocked pollers on unix socket shutdown - #13894

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl955613879
Open

Deliver hangup events to blocked pollers on unix socket shutdown#13894
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl955613879

Conversation

@copybara-service

Copy link
Copy Markdown

Deliver hangup events to blocked pollers on unix socket shutdown

The shutdown notification paths only notified ReadableEvents and
WritableEvents, so a poller waiting only for POLLHUP or POLLRDHUP was
never woken and slept until its timeout. Linux wakes all waiters via
sk_state_change(). Notifications now include EventRdHUp and EventHUp
where the closed direction can newly satisfy them; over-notifying is
harmless since woken waiters re-check readiness.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#13887 from relkochta:relkochta/make-clangd-work 473e11a

@copybara-service copybara-service Bot added the exported Issue was exported automatically label Jul 29, 2026
The shutdown notification paths only notified ReadableEvents and
WritableEvents, so a poller waiting only for POLLHUP or POLLRDHUP was
never woken and slept until its timeout. Linux wakes all waiters via
sk_state_change(). Notifications now include EventRdHUp and EventHUp
where the closed direction can newly satisfy them; over-notifying is
harmless since woken waiters re-check readiness.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#13887 from relkochta:relkochta/make-clangd-work 473e11a
PiperOrigin-RevId: 955613879
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant