File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,11 @@ internal sealed partial class Http2Connection : HttpConnectionBase
35
35
private readonly Dictionary < int , Http2Stream > _httpStreams ;
36
36
37
37
private readonly CreditManager _connectionWindow ;
38
- private readonly CreditManager _concurrentStreams ;
39
38
private RttEstimator _rttEstimator ;
40
39
41
40
private int _nextStream ;
42
41
private bool _expectingSettingsAck ;
43
42
private int _initialServerStreamWindowSize ;
44
- private int _maxConcurrentStreams ;
45
43
private int _pendingWindowUpdate ;
46
44
private long _idleSinceTickCount ;
47
45
@@ -1511,7 +1509,7 @@ private void AddStream(Http2Stream http2Stream)
1511
1509
// assigning the stream ID to ensure only one stream gets an ID, and it must be held
1512
1510
// across setting the initial window size (available credit) and storing the stream into
1513
1511
// collection such that window size updates are able to atomically affect all known streams.
1514
- http2Stream . Initialize ( _nextStream , _initialWindowSize ) ;
1512
+ http2Stream . Initialize ( _nextStream , _initialServerStreamWindowSize ) ;
1515
1513
1516
1514
// Client-initiated streams are always odd-numbered, so increase by 2.
1517
1515
_nextStream += 2 ;
You can’t perform that action at this time.
0 commit comments