Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
1d41853
Implement dynamic HTTP2 window scaling
antonfirsov Jun 25, 2021
4067443
Merge branch 'main' into http/dynamic-window-02
antonfirsov Jun 25, 2021
a3800d3
actually fix the conflict with #54437
antonfirsov Jun 25, 2021
9f50764
add comment on PING payloads
antonfirsov Jun 25, 2021
3c7c474
delete StringBuilderOutput
antonfirsov Jun 25, 2021
6eb66e9
DisableDynamicWindowSizing: fix name
antonfirsov Jun 25, 2021
4c7f3ac
make RttEstimator.MinRtt thread-safe
antonfirsov Jun 26, 2021
473139d
simplify RuntimeSettingParserTest code
antonfirsov Jun 28, 2021
f2ff4ee
respond to PING while reading CONTINUATION frames in ProcessHeadersFrame
antonfirsov Jun 28, 2021
2bf13e0
fix test
antonfirsov Jun 28, 2021
526d723
add PingBeforeContinuationFrame_Success
antonfirsov Jun 28, 2021
7362e87
WIP: SetupAutomaticPingResponse by default
antonfirsov Jun 30, 2021
4dfcfeb
WIP: SetupAutomaticPingResponse by default
antonfirsov Jun 30, 2021
6e9142b
fix Http2_PingKeepAlive formatting
antonfirsov Jun 30, 2021
e30ab75
delete manual ping response setup code
antonfirsov Jun 30, 2021
20416ac
disallow PING frames before CONTINUATION again
antonfirsov Jun 30, 2021
9f53e0a
move process-wide settings to GlobalHttpSettings & remove MaximumWind…
antonfirsov Jun 30, 2021
13d2066
cleanup defaults
antonfirsov Jun 30, 2021
e6cc7c3
nits
antonfirsov Jun 30, 2021
b89e4bc
reduce footprint of Http2StreamWindowManager & RttEstimator
antonfirsov Jun 30, 2021
1df65a2
comments
antonfirsov Jun 30, 2021
3e18b0b
allow receiving PING ACK after GOAWAY
antonfirsov Jun 30, 2021
fb3b90e
Merge branch 'main' into http/dynamic-window-02
antonfirsov Jun 30, 2021
a54dfdc
nit
antonfirsov Jun 30, 2021
dd8d2cc
defer _lastWindowUpdate = Stopwatch.GetTimestamp()
antonfirsov Jun 30, 2021
4f302c7
delete extra newlines
antonfirsov Jun 30, 2021
e4d8639
remove _respondToPing
antonfirsov Jun 30, 2021
c7761e2
Http2LoopbackConnection: allow PING ACK after GOAWAY
antonfirsov Jun 30, 2021
e23cac8
EnableTransparentPingResponse = false in Http2_PingKeepAlive
antonfirsov Jun 30, 2021
70a04c3
commit suggestion
antonfirsov Jun 30, 2021
ddd6ea1
Merge branch 'main' into http/dynamic-window-02
antonfirsov Jul 1, 2021
7b006a5
sync DiagnosticsHandler with #54437
antonfirsov Jul 1, 2021
bc2b9b5
fix build
antonfirsov Jul 1, 2021
95f9e0d
Apply suggestions
antonfirsov Jul 2, 2021
aba1735
separate _expectPingFrame and _transparentPingResponse functionality
antonfirsov Jul 2, 2021
5cbf0e1
check for _streamWindowSize < MaxStreamWindowSize before trying to ex…
antonfirsov Jul 2, 2021
cd94dcf
nit
antonfirsov Jul 5, 2021
6954f61
move DefaultInitialHttp2StreamWindowSize
antonfirsov Jul 5, 2021
6dbfa47
harden LowBandwidthDelayProduct_ClientStreamReceiveWindowStopsScaling
antonfirsov Jul 5, 2021
3009773
delete unreliable LowBandwidthDelayProduct_ClientStreamReceiveWindowS…
antonfirsov Jul 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
delete extra newlines
  • Loading branch information
antonfirsov committed Jun 30, 2021
commit 4f302c74b36f5b683e88a55ffc912fb392eaafd5
Original file line number Diff line number Diff line change
Expand Up @@ -2444,9 +2444,7 @@ private async Task SendAndReceiveRequestDataAsync(Memory<byte> data, Stream requ
{
await requestStream.WriteAsync(data);
await requestStream.FlushAsync();

DataFrame dataFrame = (DataFrame)await connection.ReadFrameAsync(TimeSpan.FromSeconds(30));

Assert.True(data.Span.SequenceEqual(dataFrame.Data.Span));
}

Expand Down Expand Up @@ -2805,7 +2803,6 @@ public async Task PostAsyncDuplex_ServerResetsStream_Throws()
// Trying to read on the response stream should fail now, and client should ignore any data received
await AssertProtocolErrorForIOExceptionAsync(SendAndReceiveResponseDataAsync(contentBytes, responseStream, connection, streamId), ProtocolErrors.ENHANCE_YOUR_CALM);


// Attempting to write on the request body should now fail with OperationCanceledException.
Exception e = await Assert.ThrowsAnyAsync<OperationCanceledException>(async () => { await SendAndReceiveRequestDataAsync(contentBytes, requestStream, connection, streamId); });

Expand Down