17 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
518readerScheduler: context.ServiceContext.Scheduler,
Internal\Http\Http1Connection.cs (3)
55_parser = ServiceContext.HttpParser; 85ServiceContext.Metrics.RequestUpgradedStop(_context.MetricsContext); 87ServiceContext.ConnectionManager.UpgradedConnectionCount.ReleaseOne();
Internal\Http\HttpProtocol.cs (6)
84ServerOptions = ServiceContext.ServerOptions; 101protected KestrelTrace Log => ServiceContext.Log; 102private DateHeaderValueManager DateHeaderValueManager => ServiceContext.DateHeaderValueManager; 504ServiceContext.Scheduler.Schedule(state => ((HttpProtocol)state!).CancelRequestAbortedTokenCallback(), this); 1416if (ServiceContext.DiagnosticSource?.IsEnabled(badRequestEventName) == true) 1418WriteDiagnosticEvent(ServiceContext.DiagnosticSource, badRequestEventName, this);
Internal\Http\HttpProtocol.FeatureCollection.cs (2)
271if (!ServiceContext.ConnectionManager.UpgradedConnectionCount.TryLockOne()) 279ServiceContext.Metrics.RequestUpgradedStart(_context.MetricsContext);
Internal\Http\MessageBody.cs (1)
46protected KestrelTrace Log => _context.ServiceContext.Log;
Internal\Http2\Http2Stream.cs (1)
638readerScheduler: ServiceContext.Scheduler,
Internal\Http2\Http2StreamOfT.cs (1)
23ServiceContext.Metrics.RequestQueuedStop(MetricsContext, KestrelMetrics.Http2);
Internal\Http3\Http3Stream.cs (1)
1175readerScheduler: ServiceContext.Scheduler,
Internal\Http3\Http3StreamOfT.cs (1)
23ServiceContext.Metrics.RequestQueuedStop(MetricsContext, KestrelMetrics.Http3);