17 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
520readerScheduler: context.ServiceContext.Scheduler,
Internal\Http\Http1Connection.cs (3)
54_parser = ServiceContext.HttpParser; 87ServiceContext.Metrics.RequestUpgradedStop(MetricsContext); 89ServiceContext.ConnectionManager.UpgradedConnectionCount.ReleaseOne();
Internal\Http\HttpProtocol.cs (6)
90ServerOptions = ServiceContext.ServerOptions; 107protected KestrelTrace Log => ServiceContext.Log; 108private DateHeaderValueManager DateHeaderValueManager => ServiceContext.DateHeaderValueManager; 509ServiceContext.Scheduler.Schedule(state => ((HttpProtocol)state!).CancelRequestAbortedTokenCallback(), this); 1422if (ServiceContext.DiagnosticSource?.IsEnabled(badRequestEventName) == true) 1424WriteDiagnosticEvent(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)
1206readerScheduler: ServiceContext.Scheduler,
Internal\Http3\Http3StreamOfT.cs (1)
23ServiceContext.Metrics.RequestQueuedStop(MetricsContext, KestrelMetrics.Http3);