1 write to _timeoutControl
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
TimeoutControlTests.cs (1)
21_timeoutControl = new TimeoutControl(_mockTimeoutHandler.Object, _timeProvider);
112 references to _timeoutControl
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (112)
TimeoutControlTests.cs (112)
29_timeoutControl.Debugger = mockDebugger.Object; 32_timeoutControl.Initialize(); 33_timeoutControl.SetTimeout(TimeSpan.FromTicks(1), TimeoutReason.RequestHeaders); 34_timeoutControl.Tick(_timeProvider.GetTimestamp(now + 2, Heartbeat.Interval)); 44_timeoutControl.Debugger = mockDebugger.Object; 67_timeoutControl.Initialize(); 69_timeoutControl.StartRequestBody(minRate); 70_timeoutControl.StartTimingRead(); 74_timeoutControl.BytesRead(10); 75_timeoutControl.Tick(now); 82_timeoutControl.Tick(now); 84_timeoutControl.BytesRead(10); 85_timeoutControl.Tick(now); 99_timeoutControl.Initialize(); 101_timeoutControl.StartRequestBody(minRate); 102_timeoutControl.StartTimingRead(); 106_timeoutControl.Tick(now); 108_timeoutControl.BytesRead(400); 109_timeoutControl.Tick(now); 113_timeoutControl.BytesRead(200); 114_timeoutControl.Tick(now); 121_timeoutControl.BytesRead(0); 122_timeoutControl.Tick(now); 129_timeoutControl.BytesRead(0); 130_timeoutControl.Tick(now); 137_timeoutControl.BytesRead(0); 138_timeoutControl.Tick(now); 145_timeoutControl.BytesRead(0); 146_timeoutControl.Tick(now); 158_timeoutControl.Initialize(); 160_timeoutControl.StartRequestBody(minRate); 161_timeoutControl.StartTimingRead(); 165_timeoutControl.Tick(_timeProvider.GetTimestamp()); 167_timeoutControl.Tick(_timeProvider.GetTimestamp()); 169_timeoutControl.BytesRead(600); 170_timeoutControl.Tick(_timeProvider.GetTimestamp()); 174_timeoutControl.StopTimingRead(); 178_timeoutControl.Tick(_timeProvider.GetTimestamp()); 182_timeoutControl.Tick(_timeProvider.GetTimestamp()); 189_timeoutControl.StartTimingRead(); 193_timeoutControl.Tick(_timeProvider.GetTimestamp()); 195_timeoutControl.Tick(_timeProvider.GetTimestamp()); 202_timeoutControl.Tick(_timeProvider.GetTimestamp()); 214_timeoutControl.Initialize(); 216_timeoutControl.StartRequestBody(minRate); 217_timeoutControl.StartTimingRead(); 221_timeoutControl.Tick(_timeProvider.GetTimestamp()); 223_timeoutControl.Tick(_timeProvider.GetTimestamp()); 224_timeoutControl.BytesRead(200); 231_timeoutControl.StopTimingRead(); 235_timeoutControl.StartTimingRead(); 239_timeoutControl.BytesRead(100); 240_timeoutControl.Tick(_timeProvider.GetTimestamp()); 247_timeoutControl.Tick(_timeProvider.GetTimestamp()); 260_timeoutControl.Initialize(); 262_timeoutControl.StartRequestBody(minRate); 263_timeoutControl.StartTimingRead(); 265_timeoutControl.SetTimeout(timeout, TimeoutReason.RequestBodyDrain); 269_timeoutControl.BytesRead(1); 270_timeoutControl.Tick(_timeProvider.GetTimestamp()); 277_timeoutControl.Tick(_timeProvider.GetTimestamp()); 292_timeoutControl.Initialize(); 293_timeoutControl.InitializeHttp2(flowControl); 295_timeoutControl.StartRequestBody(minRate); 296_timeoutControl.StartTimingRead(); 300_timeoutControl.BytesRead(100); 301_timeoutControl.Tick(now); 303_timeoutControl.BytesRead(100); 304_timeoutControl.Tick(now); 311_timeoutControl.Tick(now); 318_timeoutControl.Tick(now); 325_timeoutControl.Tick(now); 338_timeoutControl.Initialize(); 340_timeoutControl.StartRequestBody(minRate); 341_timeoutControl.StartTimingRead(); 345_timeoutControl.BytesRead(100); 346_timeoutControl.Tick(now); 348_timeoutControl.BytesRead(100); 349_timeoutControl.Tick(now); 353_timeoutControl.BytesRead(100); 354_timeoutControl.Tick(now); 361_timeoutControl.BytesRead(100); 362_timeoutControl.Tick(now); 364_timeoutControl.Tick(now); 376_timeoutControl.Initialize(); 379_timeoutControl.BytesWrittenToBuffer(minRate, 400); 380_timeoutControl.StartTimingWrite(); 394_timeoutControl.Initialize(); 397_timeoutControl.BytesWrittenToBuffer(minRate, 100); 398_timeoutControl.StartTimingWrite(); 418_timeoutControl.Initialize(); 421_timeoutControl.BytesWrittenToBuffer(minRate, 500); 422_timeoutControl.StartTimingWrite(); 425_timeoutControl.BytesWrittenToBuffer(minRate, 300); 426_timeoutControl.StartTimingWrite(); 435_timeoutControl.StopTimingWrite(); 451_timeoutControl.Initialize(); 456_timeoutControl.BytesWrittenToBuffer(minRate, writeSize); 460_timeoutControl.BytesWrittenToBuffer(minRate, writeSize); 461_timeoutControl.StartTimingWrite(); 471_timeoutControl.Tick(_timeProvider.GetTimestamp()); 482_timeoutControl.Initialize(); 485_timeoutControl.BytesWrittenToBuffer(minRate, 400); 486_timeoutControl.StartTimingWrite(); 490_timeoutControl.Tick(_timeProvider.GetTimestamp()); 507_timeoutControl.Initialize(); 509_timeoutControl.StartRequestBody(minRate); 510_timeoutControl.StartTimingRead(); 516_timeoutControl.BytesRead(1); 517_timeoutControl.Tick(_timeProvider.GetTimestamp()); 527_timeoutControl.Tick(_timeProvider.GetTimestamp()); 531_timeoutControl.Tick(_timeProvider.GetTimestamp());