diff options
| author | Kartik Naik <kartik@bugqore.com> | 2026-07-15 15:48:00 +0530 |
|---|---|---|
| committer | Kartik Naik <kartik@bugqore.com> | 2026-07-15 15:48:00 +0530 |
| commit | b901cbc4d84bd4eb5dbb27dabc329ba03457274a (patch) | |
| tree | 76e6cc4fd16b8e8e67b3755065a8cb5140a99cae /.github | |
| parent | 991c2d765dc003e43b8814dc191b9e81140df4cd (diff) | |
| download | portable-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
