Skip to content

Update MsQuic and use ConnectionCloseStatus in StreamShutdown - #73563

Merged
rzikm merged 3 commits into
dotnet:mainfrom
rzikm:73229-update-msquic
Aug 10, 2022
Merged

Update MsQuic and use ConnectionCloseStatus in StreamShutdown#73563
rzikm merged 3 commits into
dotnet:mainfrom
rzikm:73229-update-msquic

Conversation

@rzikm

@rzikmrzikm commented Aug 8, 2022

Copy link
Copy Markdown
Member

Fixes#73229.

This PR consumes latest MsQuic changes (2.1.0).

Opening as Draft until dependencies updates are merged (#72934). Unit tests pass with locally built MsQuic release/2.1 branch.

@ghostghost assigned rzikmAug 8, 2022
@ghost

ghost commented Aug 8, 2022

Copy link
Copy Markdown

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

Issue Details

Fixes #73229.

This PR consumes latest MsQuic changes (2.1.0).

Opening as Draft until dependencies updates are merged (#72934)

Author:rzikm
Assignees:-
Labels:

area-System.Net.Quic

Milestone:-

@rzikm

rzikm commented Aug 9, 2022

Copy link
Copy Markdown
MemberAuthor

Interestingly enough, the current version when building main already reports 2.1.0, and since CI does not crash, it seems to be recent enough version.

@rzikm

rzikm commented Aug 9, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@rzikm
rzikm marked this pull request as ready for review August 9, 2022 14:13
@rzikm
rzikm requested a review from a teamAugust 9, 2022 14:13
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Comment threadsrc/libraries/System.Net.Quic/src/System/Net/Quic/QuicStream.cs Outdated
// It's local shutdown by app, this side called QuicConnection.CloseAsync, throw QuicError.OperationAborted.
(shutdownByApp: true, closedRemotely: false) => ThrowHelper.GetOperationAbortedException(),
// It's remote shutdown by transport, (TODO: we should propagate transport error code), throw QuicError.InternalError.
// TODO: we should propagate transport error code

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the removal of the description // It's remote shutdown by transport, in the comment intentional? I don't mind it since the named variables are pretty self-explanatory. But if we're doing it, could you do it for all the cases?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

I added the comments back, with very brief explanation when the two transport shutdown cases occur.

@CarnaViireCarnaViire left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@ManickaPManickaP left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

:shipit:

@rzikm

Copy link
Copy Markdown
MemberAuthor

Test failures are unrelated

@rzikm
rzikm merged commit 8a4de2e into dotnet:mainAug 10, 2022
@karelzkarelz added this to the 7.0.0 milestone Aug 15, 2022
@ghostghost locked as resolved and limited conversation to collaborators Sep 14, 2022
Sign up for freeto 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.

[QUIC] CONNECTION_TIMEOUT may be misreported as IDLE_TIMEOUT

4 participants

@rzikm@CarnaViire@ManickaP@karelz