-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[release/5.0] Fix Socket.ReceiveFrom regression on Unix #46629
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsBackport of #46151 to release/5.0 Fixes: #45651 Customer ImpactOn Unix, when using blocking overloads of Regression?Yes. The behavior is correct on 3.1. TestingExtended RiskLow. The bug was a small overlook, the fix is trivial, that impacts only the affected sync-over-async
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Tagging subscribers to this area: @dotnet/ncl Issue DetailsBackport of #46151 to release/5.0 Fixes: #45651 Customer ImpactOn Unix, when using blocking overloads of Regression?Yes. The behavior is correct on 3.1. TestingIn the original PR I extended RiskLow. The bug was a small overlook, the product code change is minimal, and impacts only the affected sync-over-async
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
Unrelated test failure is #43981. |
@danmosemsft this is ready for 5.0 servicing ... |
Backport of #46151 to release/5.0
Fixes: #45651
Customer Impact
Reported by customer.
On Unix, when using blocking overloads of
Socket.ReceiveFrom
(typically used in UDP scenarios) after an asynchronous call to the same socket, the call may return wrong remote EndPoint (remoteEP
).A DNS server project hit this incompatibility (see #46151). We expect more UDP scenarios to hit it (typically on the server-side).
Regression?
Yes. The behavior is correct on 3.1, it's a regression introduced in 5.0.
Testing
New targeted test case included in the PR.
Risk
Low. The bug was a small overlook in perf refactoring in the space during 5.0. The fix is minimal, and impacts only the affected sync-over-async
ReceiveFrom
path.