1 write to _serviceContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTestsBase.cs (1)
48
_serviceContext
= new TestServiceContext(LoggerFactory)
16 references to _serviceContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (16)
Http1\Http1ConnectionTests.cs (15)
63
_serviceContext
.ServerOptions.Limits.MaxRequestHeadersTotalSize = int.MaxValue;
74
_serviceContext
.ServerOptions.Limits.MaxRequestHeadersTotalSize = headerLine.Length - 1;
91
_serviceContext
.ServerOptions.Limits.MaxRequestHeaderCount = 1;
114
_serviceContext
.ServerOptions.Limits.MaxRequestHeadersTotalSize = headerLine.Length;
170
Assert.Same(
_serviceContext
.ServerOptions.Limits.MinRequestBodyDataRate, _http1Connection.MinRequestBodyDataRate);
180
Assert.Same(
_serviceContext
.ServerOptions.Limits.MinResponseDataRate, _http1Connection.MinResponseDataRate);
271
_serviceContext
.ServerOptions = options;
453
_timeoutControl.Verify(cc => cc.ResetTimeout(
_serviceContext
.ServerOptions.Limits.RequestHeadersTimeout, TimeoutReason.RequestHeaders));
459
_serviceContext
.ServerOptions.Limits.MaxRequestLineSize = "GET / HTTP/1.1\r\n".Length;
575
var expectedKeepAliveTimeout =
_serviceContext
.ServerOptions.Limits.KeepAliveTimeout;
839
var previousLog =
_serviceContext
.Log;
843
_serviceContext
.Log = new KestrelTrace(NullLoggerFactory.Instance);
857
_serviceContext
.Log = previousLog;
870
_serviceContext
.ServerOptions.Limits.MaxRequestHeaderCount = header0Count + header1Count;
902
_serviceContext
.ServerOptions.Limits.MaxRequestHeaderCount = header0Count + header1Count;
Http1\Http1ConnectionTestsBase.cs (1)
55
serviceContext:
_serviceContext
,