Skip to content

Should respect cancellation token when waiting on connection lock.  #12882

@mikaelm12

Description

@mikaelm12

Waiting on the connection state lock in the HubConnection and HttpConnection should respect cancellation token

The WaitConnectionLockAsync method should take a cancellation token and pass it into the WaitAsync method.
https://github.com/aspnet/AspNetCore/blob/4921dc3aa3496eb3e9fe73255213ce54a0ba29d6/src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs#L1926-L1930

We also need this in HttpConnection here
https://github.com/aspnet/AspNetCore/blob/4921dc3aa3496eb3e9fe73255213ce54a0ba29d6/src/SignalR/clients/csharp/Http.Connections.Client/src/HttpConnection.cs#L207

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-signalrIncludes: SignalR clients and servers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions