-
-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(udp): do not enable URO on Windows on ARM #2071
base: main
Are you sure you want to change the base?
Conversation
70ffc68
to
c958ab5
Compare
Given your involvement on #2041, @thomaseizinger @stormshield-damiend do you have thoughts? @valenting since you had the idea of using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm glad this works!
i am ok with this approach, this prevent issue for people that uses Windows ARM + WSL and gives us some time to understand the root cause. |
c958ab5
to
653e382
Compare
On Windows on ARM with Windows Subsystem for Linux (WSL) `WSA_RECVMSG` does not return the segment size of coalesced UDP datagrams. See quinn-rs#2041 for details. While lacking a fix for the root cause, don't enable URO, i.e. don't coalesce UDP datagrams on Windows on ARM.
653e382
to
4e23e95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have to double check but I think the user that ran into this with Firezone was on x64.
Happy for this to merge regardless.
We could also consider adding a config option, defaulting to disabled and with a warning that it may not work on all systems.
I think I'd rather disable GRO completely for Firezone on Windows until we get to the bottom of this. Or add some kind of compatibility switch.
On Windows on ARM with Windows Subsystem for Linux (WSL)
WSA_RECVMSG
does not return the segment size of coalesced UDP datagrams. See #2041 for details.While lacking a fix for the root cause, don't enable URO, i.e. don't coalesce UDP datagrams, on Windows on ARM.