Skip to content

Add test for receiving H3_REQUEST_REJECTED from server - #72253

Merged
rzikm merged 1 commit into
dotnet:mainfrom
rzikm:56944-HTTP3-Graceful-server-shutdown-and-H3_REQUEST_REJECTED
Jul 15, 2022
Merged

rzikm merged 1 commit into
dotnet:mainfrom
rzikm:56944-HTTP3-Graceful-server-shutdown-and-H3_REQUEST_REJECTED

Conversation

@rzikm

@rzikm rzikm commented Jul 15, 2022 •

Copy link
Copy Markdown
Member

Closes #56944.

The current behavior is that when we receive H3_REQUEST_REJECTED on a stream, we immediately retry the request, if the connection gets later closed via GOAWAY, we retry the request again on a new/different connection, and so forth until the allowed number of retries.

This PR adds a test that checks this behavior.

@ghost ghost added the area-System.Net.Http label Jul 15, 2022
@ghost ghost assigned rzikm Jul 15, 2022
@ghost

ghost commented Jul 15, 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

Closes #46944.

The current behavior is that when we receive H3_REQUEST_REJECTED on a stream, we immediately retry the request, if the connection gets later closed via GOAWAY, we retry the request again on a new/different connection, and so forth until the allowed number of retries.

This PR adds a test that checks this behavior.

Author: rzikm
Assignees: -
Labels:

area-System.Net.Http

Milestone: -

@rzikm
rzikm requested a review from a team July 15, 2022 08:58

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

@rzikm

rzikm commented Jul 15, 2022

Copy link
Copy Markdown
Member Author

Test failures are unrelated.

@rzikm
rzikm merged commit 2f03ecd into dotnet:main Jul 15, 2022
@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.

[HTTP/3] Graceful server shutdown and H3_REQUEST_REJECTED

3 participants