[Bug 59427] New: ws2_32: setsockopt(IP_RECVECN/IPV6_RECVECN) fails with WSAENOPROTOOPT (10042) (Unknown optname 0x32)
http://bugs.winehq.org/show_bug.cgi?id=59427 Bug ID: 59427 Summary: ws2_32: setsockopt(IP_RECVECN/IPV6_RECVECN) fails with WSAENOPROTOOPT (10042) (Unknown optname 0x32) Product: Wine Version: 11.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@list.winehq.org Reporter: og.o_o.yrec@proton.me Distribution: --- Created attachment 80395 --> http://bugs.winehq.org/attachment.cgi?id=80395 Minimal repro (Rust) + WINEDEBUG=+winsock log (Unknown optname 0x32, WSAENOPROTOOPT 10042) Wine 11.0 (Arch Linux) does not recognize Winsock ECN recv options. Repro: Run attached ecn_probe under 64-bit Wine. It creates IPv4/IPv6 UDP sockets and calls: - setsockopt(IPPROTO_IP, IP_RECVECN, 1) - setsockopt(IPPROTO_IPV6, IPV6_RECVECN, 1) Observed: Wine prints: fixme:winsock:setsockopt Unknown IPPROTO_IP optname 0x00000032 fixme:winsock:setsockopt Unknown IPPROTO_IPV6 optname 0x00000032 and setsockopt fails with WSAENOPROTOOPT (10042) for both. Expected: These options should be supported as part of Winsock ECN support. Environment: Host: Arch Linux x86_64 Kernel: Linux archog 6.14.0-rt3-arch1-6-rt Wine: 11.0 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59427 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #1 from Zeb Figura <z.figura12@gmail.com> --- Is there an application that depends on this? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59427 --- Comment #2 from og.o_o.yrec@proton.me --- (In reply to Zeb Figura from comment #1)
Is there an application that depends on this?
Yes. One concrete consumer is the Rust QUIC stack "quinn" (via its `quinn-udp` crate). On Windows it enables ECN reception using `setsockopt(IPPROTO_IP, IP_RECVECN, 1)` / `setsockopt(IPPROTO_IPV6, IPV6_RECVECN, 1)` so it can read ECN bits from incoming packets. Under Wine 11.0 these calls fail with WSAENOPROTOOPT (10042) and “Unknown … optname 0x32”, which can prevent QUIC endpoint creation (i.e. the application fails to start under Wine/Proton if ECN is enabled unconditionally). Upstream reference: https://github.com/quinn-rs/quinn/pull/2532 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla