Skip to content

[HTTP] Fix retry related test failures - #137064

Merged
ManickaP merged 1 commit into
dotnet:mainfrom
ManickaP:retry
Nov 7, 2026
Merged

ManickaP merged 1 commit into
dotnet:mainfrom
ManickaP:retry

Conversation

@ManickaP

@ManickaP ManickaP commented Nov 6, 2026

Copy link
Copy Markdown
Member

In H/3, sometimes we'd process retries of REQUEST_REJECTED faster than GO_AWAY on the same, closing connection.

Fixes #133106
Fixes #133059

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@ManickaP
ManickaP merged commit 029c82b into dotnet:main Nov 7, 2026
86 checks passed
@ManickaP
ManickaP deleted the retry branch November 7, 2026 11:48
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 8, 2026
ManickaP added a commit that referenced this pull request Nov 10, 2026
Follow up on #137064

- Ad Cookie tests: found these two in Kusto as failing, fixing them in
the same manner as in the original PR.
- Ad H/3 Retry test: the original fix is not enough. We run both client
and server in the same process in a container with 2 threads, so GO_AWAY
just might be chilling there while we spin retries for quite a while. I
added few more loops to retry, but eventually made the test **not fail**
in case of REQUEST_REJECTED.
_I also considered fixing the connection pool behavior so that
REQUEST_REJECTED would be always retried on a new connection. But that
would be rather intrusive change given how H/3 pool is when multiple
connections are not enabled. On top of that, the test is rather
synthetic and I don't recall anyone ever complain about this (IMHO
servers out in the wild do not send GO_AWAY for the very next request
but rather give clients some grace period)._

Fixes #133842
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants