aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKartik Naik <kartik@bugqore.com>2026-07-15 15:48:00 +0530
committerKartik Naik <kartik@bugqore.com>2026-07-15 15:48:00 +0530
commitb901cbc4d84bd4eb5dbb27dabc329ba03457274a (patch)
tree76e6cc4fd16b8e8e67b3755065a8cb5140a99cae /.github
parent991c2d765dc003e43b8814dc191b9e81140df4cd (diff)
downloadportable-b901cbc4d84bd4eb5dbb27dabc329ba03457274a.tar.gz
portable-b901cbc4d84bd4eb5dbb27dabc329ba03457274a.tar.bz2
portable-b901cbc4d84bd4eb5dbb27dabc329ba03457274a.zip
poll_win: restore fd_sets before each select() retry
select() strips not-ready descriptors from the fd_sets, so a timed-out pass leaves them empty and the next pass calls select() with three empty sets, which Windows rejects with WSAEINVAL. Keep a pristine copy and restore it before each retry so an idle socket waits out the timeout.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions