From fd3657bf8c3a2861e1b35cf36d469d342d853880 Mon Sep 17 00:00:00 2001 From: Chadwain Holness Date: Tue, 20 Jan 2026 15:19:36 -0500 Subject: [PATCH] Io.Threaded: remove WSA_FLAG_OVERLAPPED from socket call --- lib/std/Io/Threaded.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index c42545563c..849a2d4375 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -10824,7 +10824,7 @@ fn openSocketWsa( ) !ws2_32.SOCKET { const mode = posixSocketMode(options.mode); const protocol = posixProtocol(options.protocol); - const flags: u32 = ws2_32.WSA_FLAG_OVERLAPPED | ws2_32.WSA_FLAG_NO_HANDLE_INHERIT; + const flags: u32 = ws2_32.WSA_FLAG_NO_HANDLE_INHERIT; var syscall: Syscall = try .start(); while (true) { const rc = ws2_32.WSASocketW(family, @bitCast(mode), @bitCast(protocol), null, 0, flags);