16 references to TimeoutControl
Microsoft.AspNetCore.Server.Kestrel.Core (16)
Internal\Http2\Http2Connection.cs (16)
296
TimeoutControl
.InitializeHttp2(_inputFlowControl);
297
TimeoutControl
.SetTimeout(Limits.KeepAliveTimeout, TimeoutReason.KeepAlive);
480
TimeoutControl
.CancelTimeout();
481
TimeoutControl
.StartDrainTimeout(Limits.MinResponseDataRate, Limits.MaxResponseBufferSize);
855
if (
TimeoutControl
.TimerReason != TimeoutReason.None)
857
Debug.Assert(
TimeoutControl
.TimerReason == TimeoutReason.KeepAlive, "Non keep-alive timeout set at start of stream.");
858
TimeoutControl
.CancelTimeout();
863
TimeoutControl
.SetTimeout(Limits.RequestHeadersTimeout, TimeoutReason.RequestHeaders);
1081
if (
TimeoutControl
.TimerReason == TimeoutReason.KeepAlive)
1083
TimeoutControl
.ResetTimeout(Limits.KeepAliveTimeout, TimeoutReason.KeepAlive);
1198
Debug.Assert(
TimeoutControl
.TimerReason == TimeoutReason.RequestHeaders, "Received continuation frame without request header timeout being set.");
1202
TimeoutControl
.CancelTimeout();
1523
if (
TimeoutControl
.TimerReason == TimeoutReason.None)
1525
TimeoutControl
.SetTimeout(Limits.KeepAliveTimeout, TimeoutReason.KeepAlive);
1530
Debug.Assert(
TimeoutControl
.TimerReason == TimeoutReason.RequestHeaders ||
1531
TimeoutControl
.TimerReason == TimeoutReason.KeepAlive);