Skip to content

[HTTP3] Correctly handle server closing a control stream - #73680

Merged
rzikm merged 3 commits into
dotnet:mainfrom
rzikm:http3-control-stream-close-exception
Aug 11, 2022
Merged

[HTTP3] Correctly handle server closing a control stream#73680
rzikm merged 3 commits into
dotnet:mainfrom
rzikm:http3-control-stream-close-exception

Conversation

@rzikm

Copy link
Copy Markdown
Member

This PR makes sure we behave according to the spec when server closes/aborts either its or clients control stream (i.e. close the connection with H3_CLOSED_CRITICAL_STREAM error)

@rzikm
rzikm requested a review from CarnaViireAugust 10, 2022 08:21
@ghostghost assigned rzikmAug 10, 2022
@rzikm
rzikm requested a review from ManickaPAugust 10, 2022 08:21
@ghost

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

This PR makes sure we behave according to the spec when server closes/aborts either its or clients control stream (i.e. close the connection with H3_CLOSED_CRITICAL_STREAM error)

Author:rzikm
Assignees:-
Labels:

area-System.Net.Http

Milestone:-

@rzikm

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines

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

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

LGTM, thanks.

…andler/Http3Connection.cs
Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>
using System.Runtime.Versioning;
using System.Net.Quic;
using System.IO;
using System.Linq;

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.

Suggested change
using System.Linq;

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.

oops, I missed this one and merged it, I will remove it when I next touch HTTP3

@rzikm
rzikm merged commit 80640d4 into dotnet:mainAug 11, 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.

4 participants

@rzikm@CarnaViire@ManickaP@karelz