Skip to content

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
@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