Skip to content
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 Accept assert #89901

Merged
merged 1 commit into from
Aug 3, 2023
Merged

fix Accept assert #89901

merged 1 commit into from
Aug 3, 2023

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Aug 3, 2023

Fixes #89806
Regression from #88970

The CompleteAcceptOperation is also called in error cases and in that case the socketAddress is not set/valid.
That used to be covered by the socketAddress == null part of the assert.

@wfurt wfurt added this to the 8.0.0 milestone Aug 3, 2023
@wfurt wfurt self-assigned this Aug 3, 2023
@ghost
Copy link

ghost commented Aug 3, 2023

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

regression from #88970, fixes #89806

The CompleteAcceptOperation is also called in error cases and in that case the socketAddress is not set/valid.
That used to be covered by the socketAddress == null part of the assert.

Author: wfurt
Assignees: wfurt
Labels:

area-System.Net.Sockets

Milestone: 8.0.0

@wfurt wfurt merged commit aaa20bc into dotnet:main Aug 3, 2023
101 of 103 checks passed
@wfurt wfurt deleted the assert branch August 3, 2023 14:53
@ghost ghost locked as resolved and limited conversation to collaborators Sep 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assert in System.Net.Sockets.SocketAsyncEventArgs.CompleteAcceptOperation
2 participants