Skip to content

Commit 05bae0f

Browse files
author
Geoffrey Kizer
committed
fix merge issues
1 parent e5af1b7 commit 05bae0f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http2Connection.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ internal sealed partial class Http2Connection : HttpConnectionBase
3535
private readonly Dictionary<int, Http2Stream> _httpStreams;
3636

3737
private readonly CreditManager _connectionWindow;
38-
private readonly CreditManager _concurrentStreams;
3938
private RttEstimator _rttEstimator;
4039

4140
private int _nextStream;
4241
private bool _expectingSettingsAck;
4342
private int _initialServerStreamWindowSize;
44-
private int _maxConcurrentStreams;
4543
private int _pendingWindowUpdate;
4644
private long _idleSinceTickCount;
4745

@@ -1511,7 +1509,7 @@ private void AddStream(Http2Stream http2Stream)
15111509
// assigning the stream ID to ensure only one stream gets an ID, and it must be held
15121510
// across setting the initial window size (available credit) and storing the stream into
15131511
// collection such that window size updates are able to atomically affect all known streams.
1514-
http2Stream.Initialize(_nextStream, _initialWindowSize);
1512+
http2Stream.Initialize(_nextStream, _initialServerStreamWindowSize);
15151513

15161514
// Client-initiated streams are always odd-numbered, so increase by 2.
15171515
_nextStream += 2;

0 commit comments

Comments
 (0)