Repository navigation
Conversation
|
Thank you for the careful analysis and the repro. I checked it locally on Windows 11 with GHC 9.12.4.20260713 (
I also confirmed in GHC's Note that CI does not exercise this: its Windows jobs use GHC 9.4 and 9.14.1, which compile network's WinIO code out. A few points:
@Mistuke In #602 you mentioned that |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
waitAndCancelReadSocketSTM and waitAndCancelWriteSocketSTM issue an AFD poll on the socket, which completes on the I/O manager's port like any overlapped operation; cancelling kills the waiting thread. MIO still throws. Relies on FILE_SKIP_COMPLETION_PORT_ON_SUCCESS (#639). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This is the fix for #638, as described in the issue and in the repro.