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

[release/6.0] [QUIC] Fixed exception type for ConnectionShutdownInitiatedByTransport #60244

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 11, 2021

Backport of #60181 to release/6.0

Fixes #60133

In case of a shutdown by a transport we would throw QuicOperationAbortedException out of AcceptStreamAsync, which would wrongly imply that it was our side who initiated the connection shutdown.
This is a quick safe fix to make the logic throw QuicConnectionAbortedException instead.

/cc @ManickaP

Customer Impact

Kestrel runs into retry loop in all HTTP/3 end-to-end scenarios with browsers. As a result, it will consume lots of CPU and request response time increases -- basically DoS.

Testing

Manually confirmed it fixes the issue.
Fix also confirmed by the Kestrel team cc @sebastienros

Risk

Very low, S.N.Quic is isolated to HTTP/3 scenarios only. Fix changes only type of the exception thrown, not when and why.

cc: @JamesNK @adityamandaleeka @karelz

@ghost
Copy link

ghost commented Oct 11, 2021

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

Issue Details

Backport of #60181 to release/6.0

/cc @ManickaP

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Net

Milestone: -

Copy link
Member

@adityamandaleeka adityamandaleeka left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@karelz karelz added the Servicing-consider Issue for next servicing release review label Oct 12, 2021
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 12, 2021
@danmoseley danmoseley merged commit dcc4be5 into release/6.0 Oct 12, 2021
@danmoseley danmoseley deleted the backport/pr-60181-to-release/6.0 branch October 12, 2021 17:35
@ghost ghost locked as resolved and limited conversation to collaborators Nov 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants