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

[QUIC] fixes failing assert #72022

Merged
merged 1 commit into from
Jul 12, 2022
Merged

Conversation

ManickaP
Copy link
Member

Fixes #71995

This will be properly addressed in #71783

@ghost
Copy link

ghost commented Jul 12, 2022

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

Issue Details

Fixes #71995

This will be properly addressed in #71783

Author: ManickaP
Assignees: -
Labels:

area-System.Net.Quic

Milestone: -

@@ -215,7 +216,10 @@ private static unsafe int HandleEventConnected(State state, ref QUIC_CONNECTION_
//state.Connection._remoteEndPoint = MsQuicParameterHelpers.GetIPEndPointParam(MsQuicApi.Api, state.Handle, QUIC_PARAM_CONN_REMOTE_ADDRESS);
state.Connection._localEndPoint = MsQuicParameterHelpers.GetIPEndPointParam(MsQuicApi.Api, state.Handle, QUIC_PARAM_CONN_LOCAL_ADDRESS);
state.Connection._negotiatedAlpnProtocol = new SslApplicationProtocol(new Span<byte>(connectionEvent.CONNECTED.NegotiatedAlpn, connectionEvent.CONNECTED.NegotiatedAlpnLength).ToArray());
state.Connection = null;
if (!state.ShutdownInProgress)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we actually need this or can we wait for the final event from msquic?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not anymore, since I removed the only assert checking it's null.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with moving forward to avoid CI failures if you have better fix in pipeline....

@ManickaP
Copy link
Member Author

Failures are: #71233 and #71997

@ManickaP ManickaP merged commit 7987480 into dotnet:main Jul 12, 2022
@ManickaP ManickaP deleted the mapichov/71995-fix branch July 12, 2022 16:27
@karelz karelz added this to the 7.0.0 milestone Jul 19, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 18, 2022
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.

System.Net.Quic.Functional.Tests crash on coreclr/windows/x64
3 participants