17 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
520readerScheduler: context.ServiceContext.Scheduler,
Internal\Http\Http1Connection.cs (3)
55_parser = ServiceContext.HttpParser; 88ServiceContext.Metrics.RequestUpgradedStop(MetricsContext); 90ServiceContext.ConnectionManager.UpgradedConnectionCount.ReleaseOne();
Internal\Http\HttpProtocol.cs (6)
91ServerOptions = ServiceContext.ServerOptions; 108protected KestrelTrace Log => ServiceContext.Log; 109private DateHeaderValueManager DateHeaderValueManager => ServiceContext.DateHeaderValueManager; 511ServiceContext.Scheduler.Schedule(state => ((HttpProtocol)state!).CancelRequestAbortedTokenCallback(), this); 1413if (ServiceContext.DiagnosticSource?.IsEnabled(badRequestEventName) == true) 1415WriteDiagnosticEvent(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)
650readerScheduler: ServiceContext.Scheduler,
Internal\Http2\Http2StreamOfT.cs (1)
24ServiceContext.Metrics.RequestQueuedStop(MetricsContext, KestrelMetrics.Http2);
Internal\Http3\Http3Stream.cs (1)
1186readerScheduler: ServiceContext.Scheduler,
Internal\Http3\Http3StreamOfT.cs (1)
23ServiceContext.Metrics.RequestQueuedStop(MetricsContext, KestrelMetrics.Http3);