Check if HTTP/2 frame writer has already been aborted.
This commit is contained in:
parent
9944c0fd43
commit
9687079723
|
|
@ -35,6 +35,11 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2
|
|||
{
|
||||
lock (_writeLock)
|
||||
{
|
||||
if (_completed)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_completed = true;
|
||||
_outputReader.CancelPendingRead();
|
||||
_outputWriter.Complete(ex);
|
||||
|
|
|
|||
Loading…
Reference in New Issue