Open
Description
Is your feature request related to a problem? Please describe.
The issue is SignalR server-side relies on the first PingMessage
to enable the client-side ping check.
However, if the client-side sends out messages constantly and more frequently than keep alive, the client never has any chance to send out PingMessage
, and as a result the server-side ping check never invokes.
And this can cause the issue that when using SSE to connect to the service, although client fails to send to the server when JWT token expiration(401), the connection never closes, like described here Azure/azure-signalr#943
Describe the solution you'd like
Provide an option to explicitly enable the ping check through SignalROptions
can solve the issue.