Http2\Http2TimeoutTests.cs (24)
416await SendDataAsync(1, _maxData, endStream: true);
428var timeToWriteMaxData = TimeSpan.FromSeconds((_bytesReceived + _maxData.Length) / limits.MinResponseDataRate.BytesPerSecond) +
442withLength: _maxData.Length,
517_clientSettings.InitialWindowSize = (uint)_maxData.Length - 1;
522await SendDataAsync(1, _maxData, endStream: true);
571_clientSettings.InitialWindowSize = (uint)_maxData.Length - 1;
576await SendDataAsync(1, _maxData, endStream: true);
588await SendDataAsync(3, _maxData, endStream: true);
686await StartStreamAsync(1, ReadRateRequestHeaders(_maxData.Length), endStream: false);
687await SendDataAsync(1, _maxData, endStream: false);
701var timeToReadMaxData = TimeSpan.FromSeconds(_maxData.Length / limits.MinRequestBodyDataRate.BytesPerSecond) - TimeSpan.FromSeconds(.5);
737await StartStreamAsync(1, ReadRateRequestHeaders(_maxData.Length), endStream: false);
738await SendDataAsync(1, _maxData, endStream: false);
750await StartStreamAsync(3, ReadRateRequestHeaders(_maxData.Length), endStream: false);
751await SendDataAsync(3, _maxData, endStream: false);
762var timeToReadMaxData = TimeSpan.FromSeconds(_maxData.Length / limits.MinRequestBodyDataRate.BytesPerSecond);
804await StartStreamAsync(1, ReadRateRequestHeaders(_maxData.Length), endStream: false);
805await SendDataAsync(1, _maxData, endStream: true);
822await StartStreamAsync(3, ReadRateRequestHeaders(_maxData.Length), endStream: false);
823await SendDataAsync(3, _maxData, endStream: false);
836var timeToReadMaxData = TimeSpan.FromSeconds(_maxData.Length / limits.MinRequestBodyDataRate.BytesPerSecond) - TimeSpan.FromSeconds(.5);
943await SendDataAsync(1, _maxData, endStream: false);
945await SendDataAsync(1, _maxData, endStream: true);
977var expectedUpdateSize = ((framesConnectionInWindow / 2) + 1) * _maxData.Length + _helloWorldBytes.Length;