3 writes to KeepAliveTimeout
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
160
Assert.Equal(value, new KestrelServerLimits {
KeepAliveTimeout
= value }.KeepAliveTimeout);
166
Assert.Equal(TimeSpan.MaxValue, new KestrelServerLimits {
KeepAliveTimeout
= Timeout.InfiniteTimeSpan }.KeepAliveTimeout);
173
var exception = Assert.Throws<ArgumentOutOfRangeException>(() => new KestrelServerLimits {
KeepAliveTimeout
= value });
11 references to KeepAliveTimeout
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http\Http1Connection.cs (1)
705
TimeoutControl.SetTimeout(ServerOptions.Limits.
KeepAliveTimeout
, TimeoutReason.KeepAlive);
Internal\Http2\Http2Connection.cs (3)
297
TimeoutControl.SetTimeout(Limits.
KeepAliveTimeout
, TimeoutReason.KeepAlive);
1083
TimeoutControl.ResetTimeout(Limits.
KeepAliveTimeout
, TimeoutReason.KeepAlive);
1525
TimeoutControl.SetTimeout(Limits.
KeepAliveTimeout
, TimeoutReason.KeepAlive);
Internal\Http3\Http3Connection.cs (2)
359
TimeoutControl.SetTimeout(Limits.
KeepAliveTimeout
, TimeoutReason.KeepAlive);
844
TimeoutControl.SetTimeout(Limits.
KeepAliveTimeout
, TimeoutReason.KeepAlive);
KestrelServerLimits.cs (2)
261
writer.WriteString(nameof(
KeepAliveTimeout
),
KeepAliveTimeout
.ToString());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
153
Assert.Equal(TimeSpan.FromSeconds(130), new KestrelServerLimits().
KeepAliveTimeout
);
160
Assert.Equal(value, new KestrelServerLimits { KeepAliveTimeout = value }.
KeepAliveTimeout
);
166
Assert.Equal(TimeSpan.MaxValue, new KestrelServerLimits { KeepAliveTimeout = Timeout.InfiniteTimeSpan }.
KeepAliveTimeout
);