Skip to content

Commit 313e374

Browse files
committed
Windows: Fix regression where no connections after 5 seconds can occur
1 parent c366471 commit 313e374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/windows/win_io.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ win_io_handler(void *arg)
3737
int rv;
3838

3939
ok = GetQueuedCompletionStatus(
40-
win_io_h, &cnt, &key, &olpd, 5000);
40+
win_io_h, &cnt, &key, &olpd, INFINITE);
4141

4242
if (olpd == NULL) {
4343
// Completion port closed...

0 commit comments

Comments
 (0)