1 write to _serviceContext
InMemory.FunctionalTests (1)
Http3\Http3TestBase.cs (1)
121_serviceContext = new TestServiceContext(LoggerFactory)
48 references to _serviceContext
InMemory.FunctionalTests (48)
Http3\Http3StreamTests.cs (18)
297_serviceContext.ServerOptions.AllowAlternateSchemes = true; 322_serviceContext.ServerOptions.AllowAlternateSchemes = true; 891_serviceContext.ServerOptions.ResponseHeaderEncodingSelector = _ => Encoding.UTF8; 892_serviceContext.ServerOptions.RequestHeaderEncodingSelector = _ => Encoding.UTF8; // Used for decoding response. 929_serviceContext.ServerOptions.ResponseHeaderEncodingSelector = _ => encoding; 1040_serviceContext.ServerOptions.ResponseHeaderEncodingSelector = _ => Encoding.UTF8; 1041_serviceContext.ServerOptions.RequestHeaderEncodingSelector = _ => Encoding.UTF8; // Used for decoding response. 1080_serviceContext.ServerOptions.ResponseHeaderEncodingSelector = _ => encoding; 2378var limit = _serviceContext.ServerOptions.Limits.Http3.MaxRequestHeaderFieldSize; 2514_serviceContext.ServerOptions.Limits.MaxRequestBodySize = 15; 2548_serviceContext.ServerOptions.Limits.MaxRequestBodySize = 10; 2588_serviceContext.ServerOptions.Limits.MaxRequestBodySize = 15; 2621_serviceContext.ServerOptions.Limits.MaxRequestBodySize = 10; 2665_serviceContext.ServerOptions.Limits.MaxRequestBodySize = 20; 2717_serviceContext.ServerOptions.Limits.MaxRequestBodySize = 10; 3073_serviceContext.ServerOptions.Limits.MaxRequestBufferSize = 100; 3138_serviceContext.ServerOptions.Limits.MaxRequestBufferSize = 1; 3222_serviceContext.ServerOptions.Limits.MaxRequestBufferSize = 1;
Http3\Http3TestBase.cs (2)
126Http3Api = new Http3InMemory(_serviceContext, _serviceContext.FakeTimeProvider, _mockTimeoutHandler.Object, LoggerFactory);
Http3\Http3TimeoutTests.cs (26)
21var limits = _serviceContext.ServerOptions.Limits; 37var limits = _serviceContext.ServerOptions.Limits; 61var limits = _serviceContext.ServerOptions.Limits; 90var limits = _serviceContext.ServerOptions.Limits; 129var timeProvider = _serviceContext.FakeTimeProvider; 131var limits = _serviceContext.ServerOptions.Limits; 164var timestamp = _serviceContext.FakeTimeProvider.GetTimestamp(); 165var limits = _serviceContext.ServerOptions.Limits; 197Assert.Equal(_serviceContext.TimeProvider.GetTimestamp(timestamp, limits.RequestHeadersTimeout), serverRequestStream.StreamTimeoutTimestamp); 217var timeProvider = _serviceContext.FakeTimeProvider; 219var limits = _serviceContext.ServerOptions.Limits; 244var timeProvider = _serviceContext.FakeTimeProvider; 247var limits = _serviceContext.ServerOptions.Limits; 283var limits = _serviceContext.ServerOptions.Limits; 307var timeProvider = _serviceContext.FakeTimeProvider; 308var limits = _serviceContext.ServerOptions.Limits; 338var limits = _serviceContext.ServerOptions.Limits; 380var limits = _serviceContext.ServerOptions.Limits; 447var fakeTimeProvider = _serviceContext.FakeTimeProvider; 448var limits = _serviceContext.ServerOptions.Limits; 489var fakeTimeProvider = _serviceContext.FakeTimeProvider; 490var limits = _serviceContext.ServerOptions.Limits; 532var limits = _serviceContext.ServerOptions.Limits; 578var limits = _serviceContext.ServerOptions.Limits; 633var limits = _serviceContext.ServerOptions.Limits; 689var limits = _serviceContext.ServerOptions.Limits;
Http3\WebTransport\WebTransportHandshakeTests.cs (2)
22_serviceContext.ServerOptions.EnableWebTransportAndH3Datagrams = true; 113_serviceContext.ServerOptions.EnableWebTransportAndH3Datagrams = true;