3 writes to RequestHeadersTimeout
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
189Assert.Equal(value, new KestrelServerLimits { RequestHeadersTimeout = value }.RequestHeadersTimeout); 195Assert.Equal(TimeSpan.MaxValue, new KestrelServerLimits { RequestHeadersTimeout = Timeout.InfiniteTimeSpan }.RequestHeadersTimeout); 202var exception = Assert.Throws<ArgumentOutOfRangeException>(() => new KestrelServerLimits { RequestHeadersTimeout = value });
9 references to RequestHeadersTimeout
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http\Http1Connection.cs (1)
185TimeoutControl.ResetTimeout(ServerOptions.Limits.RequestHeadersTimeout, TimeoutReason.RequestHeaders);
Internal\Http2\Http2Connection.cs (1)
863TimeoutControl.SetTimeout(Limits.RequestHeadersTimeout, TimeoutReason.RequestHeaders);
Internal\Http3\Http3Connection.cs (1)
259var requestHeadersTimeout = serviceContext.ServerOptions.Limits.RequestHeadersTimeout.ToTicks(
Internal\Http3\IHttp3Stream.cs (1)
19/// Value is driven by <see cref="KestrelServerLimits.RequestHeadersTimeout"/>.
KestrelServerLimits.cs (2)
324writer.WriteString(nameof(RequestHeadersTimeout), RequestHeadersTimeout.ToString());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerLimitsTests.cs (3)
182Assert.Equal(TimeSpan.FromSeconds(30), new KestrelServerLimits().RequestHeadersTimeout); 189Assert.Equal(value, new KestrelServerLimits { RequestHeadersTimeout = value }.RequestHeadersTimeout); 195Assert.Equal(TimeSpan.MaxValue, new KestrelServerLimits { RequestHeadersTimeout = Timeout.InfiniteTimeSpan }.RequestHeadersTimeout);