File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/Servers/Kestrel/Core/src/Internal/Http2 Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -380,9 +380,12 @@ public void Complete()
380
380
}
381
381
382
382
_completed = true ;
383
- AbortConnectionFlowControl ( ) ;
384
383
_outputWriter . Abort ( ) ;
385
384
}
385
+
386
+ // Ok to call after aborting the Pipe because we've already set _completed to true which means any writes from the abort call
387
+ // won't call into the Pipe.
388
+ AbortConnectionFlowControl ( ) ;
386
389
}
387
390
388
391
public Task ShutdownAsync ( )
@@ -925,6 +928,9 @@ private void ConsumeConnectionWindow(long bytes)
925
928
}
926
929
}
927
930
931
+ /// <summary>
932
+ /// Do not call this method under the _writeLock
933
+ /// </summary>
928
934
private void AbortConnectionFlowControl ( )
929
935
{
930
936
lock ( _windowUpdateLock )
You can’t perform that action at this time.
0 commit comments