Blah
This commit is contained in:
parent
c835288e84
commit
9d033aa9f9
|
|
@ -182,7 +182,10 @@ namespace Microsoft.AspNetCore.Http.Connections.Internal.Transports
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (WebSocketException ex) when (ex.ErrorCode == 997)
|
catch (WebSocketException ex) when (
|
||||||
|
ex.ErrorCode == 997 ||
|
||||||
|
// Sometimes this error is raised without the ErrorCode
|
||||||
|
ex.Message == "The remote party closed the WebSocket connection without completing the close handshake.")
|
||||||
{
|
{
|
||||||
// The remote party closed the WebSocket connection without completing the close handshake
|
// The remote party closed the WebSocket connection without completing the close handshake
|
||||||
// Don't long an error for this exception
|
// Don't long an error for this exception
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue