Skip to content

Make the behavior of WinAPIEventDriverSockets.shutdown() consistent with POSIX - #262

Merged
l-kramer merged 7 commits into
masterfrom
windows_shutdown_fix
Nov 26, 2026
Merged

l-kramer merged 7 commits into
masterfrom
windows_shutdown_fix

Conversation

@s-ludwig

Copy link
Copy Markdown
Member

No description provided.

@s-ludwig
s-ludwig force-pushed the windows_shutdown_fix branch from d579ab5 to a74a5b2 Compare November 25, 2026 18:35
There is no no-op value for `how`, so the shutdown call has to be skipped
when no direction is requested: the fallback value of 0 means SHUT_RD on
Linux/macOS, which silently closed the read side.
Verifies the resulting ConnectionState for all combinations of the
`shut_read` and `shut_write` flags, including the transitions out of the
partially closed states, as well as the observable I/O behavior of both
endpoints, so that drivers shutting down the wrong direction are caught.
@s-ludwig
s-ludwig force-pushed the windows_shutdown_fix branch from a74a5b2 to 7aeea92 Compare November 25, 2026 18:41
@s-ludwig
s-ludwig force-pushed the windows_shutdown_fix branch 2 times, most recently from 98e2822 to b9904e2 Compare November 25, 2026 21:38
DUB erroneously detects the generated binary as up to date even if it belongs to a different package.
@s-ludwig
s-ludwig force-pushed the windows_shutdown_fix branch from b9904e2 to c29feee Compare November 25, 2026 22:07
@s-ludwig
s-ludwig requested a review from l-kramer November 26, 2026 09:12
@l-kramer
l-kramer merged commit d623aa4 into master Nov 26, 2026
37 of 38 checks passed
@s-ludwig
s-ludwig deleted the windows_shutdown_fix branch November 26, 2026 09:53
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