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