Accounting for ReadAsync throwing OperationCanceledException
This commit is contained in:
parent
2854e868ec
commit
36ecbd9efd
|
|
@ -113,6 +113,10 @@ namespace Microsoft.AspNetCore.Sockets.Client
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (OperationCanceledException)
|
||||||
|
{
|
||||||
|
_logger.ReceiveCanceled(_connectionId);
|
||||||
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
readCancellationRegistration.Dispose();
|
readCancellationRegistration.Dispose();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue