Skip to content

RequestRetryType.RetryOnStreamLimitReached is never used #121638

Closed

Description

@MihaZupan

We have this catch block looking for RequestRetryType.RetryOnStreamLimitReached

catch (HttpRequestException e) when (e.AllowRetry == RequestRetryType.RetryOnStreamLimitReached)
{
if (NetEventSource.Log.IsEnabled())
{
Trace($"Retrying request on another HTTP/2 connection after active streams limit is reached on existing one: {e}");
}
// Eat exception and try again.
}

but since .NET 6 (#53851), the flag isn't set anywhere, so this is all dead code.

Noticed while looking at dotnet/arcade#16305

Activity

  1. added
    untriaged
    on Nov 14, 2025
  2. dotnet-policy-service commented on Nov 14, 2025

    @dotnet-policy-service
    Contributor

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

  3. added this to the 11.0.0 milestone on Nov 14, 2025
  4. removed
    untriaged
    on Nov 14, 2025
  5. locked and limited conversation to collaborators on Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions