1 write to _serviceContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTestsBase.cs (1)
48_serviceContext = new TestServiceContext(LoggerFactory)
15 references to _serviceContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (15)
Http1\Http1ConnectionTests.cs (14)
66_serviceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize = int.MaxValue; 77_serviceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize = headerLine.Length - 1; 94_serviceContext.ServerOptions.Limits.MaxRequestHeaderCount = 1; 117_serviceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize = headerLine.Length; 173Assert.Same(_serviceContext.ServerOptions.Limits.MinRequestBodyDataRate, _http1Connection.MinRequestBodyDataRate); 183Assert.Same(_serviceContext.ServerOptions.Limits.MinResponseDataRate, _http1Connection.MinResponseDataRate); 274_serviceContext.ServerOptions = options; 477_serviceContext.ServerOptions.Limits.MaxRequestLineSize = "GET / HTTP/1.1\r\n".Length; 593var expectedKeepAliveTimeout = _serviceContext.ServerOptions.Limits.KeepAliveTimeout; 857var previousLog = _serviceContext.Log; 861_serviceContext.Log = new KestrelTrace(NullLoggerFactory.Instance); 875_serviceContext.Log = previousLog; 888_serviceContext.ServerOptions.Limits.MaxRequestHeaderCount = header0Count + header1Count; 920_serviceContext.ServerOptions.Limits.MaxRequestHeaderCount = header0Count + header1Count;
Http1\Http1ConnectionTestsBase.cs (1)
55serviceContext: _serviceContext,