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; 451_serviceContext.ServerOptions.Limits.MaxRequestLineSize = "GET / HTTP/1.1\r\n".Length; 567var expectedKeepAliveTimeout = _serviceContext.ServerOptions.Limits.KeepAliveTimeout; 831var previousLog = _serviceContext.Log; 835_serviceContext.Log = new KestrelTrace(NullLoggerFactory.Instance); 849_serviceContext.Log = previousLog; 862_serviceContext.ServerOptions.Limits.MaxRequestHeaderCount = header0Count + header1Count; 894_serviceContext.ServerOptions.Limits.MaxRequestHeaderCount = header0Count + header1Count;
Http1\Http1ConnectionTestsBase.cs (1)
55serviceContext: _serviceContext,