Http2\Http2TimeoutTests.cs (24)
415await SendDataAsync(1, _maxData, endStream: true);
427var timeToWriteMaxData = TimeSpan.FromSeconds((_bytesReceived + _maxData.Length) / limits.MinResponseDataRate.BytesPerSecond) +
441withLength: _maxData.Length,
516_clientSettings.InitialWindowSize = (uint)_maxData.Length - 1;
521await SendDataAsync(1, _maxData, endStream: true);
570_clientSettings.InitialWindowSize = (uint)_maxData.Length - 1;
575await SendDataAsync(1, _maxData, endStream: true);
587await SendDataAsync(3, _maxData, endStream: true);
685await StartStreamAsync(1, ReadRateRequestHeaders(_maxData.Length), endStream: false);
686await SendDataAsync(1, _maxData, endStream: false);
700var timeToReadMaxData = TimeSpan.FromSeconds(_maxData.Length / limits.MinRequestBodyDataRate.BytesPerSecond) - TimeSpan.FromSeconds(.5);
736await StartStreamAsync(1, ReadRateRequestHeaders(_maxData.Length), endStream: false);
737await SendDataAsync(1, _maxData, endStream: false);
749await StartStreamAsync(3, ReadRateRequestHeaders(_maxData.Length), endStream: false);
750await SendDataAsync(3, _maxData, endStream: false);
761var timeToReadMaxData = TimeSpan.FromSeconds(_maxData.Length / limits.MinRequestBodyDataRate.BytesPerSecond);
803await StartStreamAsync(1, ReadRateRequestHeaders(_maxData.Length), endStream: false);
804await SendDataAsync(1, _maxData, endStream: true);
821await StartStreamAsync(3, ReadRateRequestHeaders(_maxData.Length), endStream: false);
822await SendDataAsync(3, _maxData, endStream: false);
835var timeToReadMaxData = TimeSpan.FromSeconds(_maxData.Length / limits.MinRequestBodyDataRate.BytesPerSecond) - TimeSpan.FromSeconds(.5);
942await SendDataAsync(1, _maxData, endStream: false);
944await SendDataAsync(1, _maxData, endStream: true);
976var expectedUpdateSize = ((framesConnectionInWindow / 2) + 1) * _maxData.Length + _helloWorldBytes.Length;