1 write to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\BaseHttpConnectionContext.cs (1)
30
ServiceContext
= serviceContext;
45 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (45)
Internal\Http\Http1Connection.cs (2)
61
_context.
ServiceContext
.Log,
656
if (_context.
ServiceContext
.ServerOptions.AllowHostHeaderOverride)
Internal\Http\HttpProtocol.cs (1)
100
public ServiceContext ServiceContext => _context.
ServiceContext
;
Internal\Http2\Http2Connection.cs (13)
154
var httpLimits = context.
ServiceContext
.ServerOptions.Limits;
179
context.
ServiceContext
.TimeProvider);
191
_scheduleInline = context.
ServiceContext
.Scheduler == PipeScheduler.Inline;
204
context.
ServiceContext
);
211
public KestrelTrace Log => _context.
ServiceContext
.Log;
213
public TimeProvider TimeProvider => _context.
ServiceContext
.TimeProvider;
215
public KestrelServerLimits Limits => _context.
ServiceContext
.ServerOptions.Limits;
231
var useException = _context.
ServiceContext
.ServerOptions.FinOnError || hasActiveStreams;
310
var connectionWindow = _context.
ServiceContext
.ServerOptions.Limits.Http2.InitialConnectionWindowSize;
896
_context.
ServiceContext
,
1344
_context.
ServiceContext
.Metrics.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2);
1581
if (_totalParsedHeaderSize > _context.
ServiceContext
.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2)
1843
readerScheduler: _context.
ServiceContext
.Scheduler,
Internal\Http2\Http2OutputProducer.cs (2)
65
_log = context.
ServiceContext
.Log;
66
var scheduleInline = context.
ServiceContext
.Scheduler == PipeScheduler.Inline;
Internal\Http3\Http3Connection.cs (14)
62
var httpLimits = context.
ServiceContext
.ServerOptions.Limits;
66
_serverSettings.EnableWebTransport = Convert.ToUInt32(context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams);
69
_serverSettings.H3Datagram = Convert.ToUInt32(context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams);
71
if (context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams)
94
private KestrelTrace Log => _context.
ServiceContext
.Log;
96
public KestrelServerLimits Limits => _context.
ServiceContext
.ServerOptions.Limits;
258
var serviceContext = _context.
ServiceContext
;
307
var minDataRate = _context.
ServiceContext
.ServerOptions.Limits.MinResponseDataRate;
392
if (_context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams)
424
if (_context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams)
618
_context.
ServiceContext
.Metrics.RequestQueuedStart(MetricsContext, KestrelMetrics.Http3);
625
Debug.Assert(_context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams);
666
_context.
ServiceContext
,
918
Debug.Assert(_context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams);
Internal\Http3\Http3ControlStream.cs (3)
44
var httpLimits = context.
ServiceContext
.ServerOptions.Limits;
57
context.
ServiceContext
.Log,
70
public KestrelTrace Log => _context.
ServiceContext
.Log;
Internal\Http3\Http3Stream.cs (7)
74
public KestrelServerLimits Limits => _context.
ServiceContext
.ServerOptions.Limits;
112
context.
ServiceContext
.ServerOptions.Limits.MinResponseDataRate,
114
context.
ServiceContext
.Log,
123
context.
ServiceContext
.Log);
126
QPackDecoder = new QPackDecoder(_context.
ServiceContext
.ServerOptions.Limits.Http3.MaxRequestHeaderFieldSize);
830
if (_context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams && HttpRequestHeaders.HeaderProtocol.Count > 0)
1216
if (!_context.
ServiceContext
.ServerOptions.EnableWebTransportAndH3Datagrams)
Internal\HttpConnection.cs (2)
43
_timeProvider = _context.
ServiceContext
.TimeProvider;
51
private KestrelTrace Log => _context.
ServiceContext
.Log;
Internal\WebTransport\WebTransportStream.cs (1)
50
_log = context.
ServiceContext
.Log;