File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Servers/Kestrel/Core/src/Internal/Http2 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ internal sealed class InputFlowControl
1313 private FlowControl _flow ;
1414 private int _pendingUpdateSize ;
1515 private bool _windowUpdatesDisabled ;
16- private readonly Lock _flowLock = new ( ) ;
16+ private readonly object _flowLock = new ( ) ;
1717
1818 public InputFlowControl ( uint initialWindowSize , uint minWindowSizeIncrement )
1919 {
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ internal sealed class Http2FrameWriter
8484 private bool _completed ;
8585 private bool _aborted ;
8686
87- private readonly Lock _windowUpdateLock = new ( ) ;
87+ private readonly object _windowUpdateLock = new ( ) ;
8888 private long _connectionWindow ;
8989 private readonly Queue < Http2OutputProducer > _waitingForMoreConnectionWindow = new ( ) ;
9090 // This is the stream that consumed the last set of connection window
You can’t perform that action at this time.
0 commit comments