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; 170Assert.Same(_serviceContext.ServerOptions.Limits.MinRequestBodyDataRate, _http1Connection.MinRequestBodyDataRate); 180Assert.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; 575var expectedKeepAliveTimeout = _serviceContext.ServerOptions.Limits.KeepAliveTimeout; 839var 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)
55serviceContext: _serviceContext,