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 @@ -25,7 +25,7 @@ internal sealed class InputFlowControl
2525 private FlowControl _flow ;
2626 private int _pendingUpdateSize ;
2727 private bool _windowUpdatesDisabled ;
28- private readonly Lock _flowLock = new ( ) ;
28+ private readonly object _flowLock = new ( ) ;
2929
3030 public InputFlowControl ( uint initialWindowSize , uint minWindowSizeIncrement )
3131 {
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ internal sealed class Http2FrameWriter
9999 private bool _completed ;
100100 private bool _aborted ;
101101
102- private readonly Lock _windowUpdateLock = new ( ) ;
102+ private readonly object _windowUpdateLock = new ( ) ;
103103 private long _connectionWindow ;
104104 private readonly Queue < Http2OutputProducer > _waitingForMoreConnectionWindow = new ( ) ;
105105 // This is the stream that consumed the last set of connection window
You can’t perform that action at this time.
0 commit comments