From 313e37495ce6f0e84c3ef3602f92ff4e9012b42e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 9 Mar 2025 19:02:46 -0700 Subject: Windows: Fix regression where no connections after 5 seconds can occur --- src/platform/windows/win_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/windows/win_io.c b/src/platform/windows/win_io.c index 48c08543..713f53f4 100644 --- a/src/platform/windows/win_io.c +++ b/src/platform/windows/win_io.c @@ -37,7 +37,7 @@ win_io_handler(void *arg) int rv; ok = GetQueuedCompletionStatus( - win_io_h, &cnt, &key, &olpd, 5000); + win_io_h, &cnt, &key, &olpd, INFINITE); if (olpd == NULL) { // Completion port closed... -- cgit v1.2.3-70-g09d2