Commit c2a1fa7a authored by Committed by Ben Gamari
base: Fix fdReady() potentially running forever on Windows.
This fixes #13497 for Windows -- at least for the `if (isSock)` part; I haven't investigated the case where it's not a socket yet. Solved by copying the new current-time based waiting logic from the non-Windows implementation above. Reviewers: bgamari, austin, hvr Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3954
Showing with 20 additions and 10 deletions