1 write to _context
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http2\Http2Connection.cs (1)
157
_context
= context;
31 references to _context
Microsoft.AspNetCore.Server.Kestrel.Core (31)
Internal\Http2\Http2Connection.cs (31)
163
_context
.InitialExecutionContext = ExecutionContext.Capture();
193
_inputTask = CopyPipeAsync(
_context
.Transport.Input, _input.Writer);
207
public string ConnectionId =>
_context
.ConnectionId;
211
public KestrelTrace Log =>
_context
.ServiceContext.Log;
212
public IFeatureCollection ConnectionFeatures =>
_context
.ConnectionFeatures;
213
public TimeProvider TimeProvider =>
_context
.ServiceContext.TimeProvider;
214
public ITimeoutControl TimeoutControl =>
_context
.TimeoutControl;
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;
493
_context
.Transport.Input.CancelPendingRead();
593
await
_context
.Transport.Output.WriteAsync(responseBytes);
894
_context
.AltSvcHeader,
895
_context
.ConnectionContext,
896
_context
.ServiceContext,
897
_context
.ConnectionFeatures,
898
_context
.MemoryPool,
899
_context
.LocalEndPoint,
900
_context
.RemoteEndPoint,
908
streamContext.TimeoutControl =
_context
.TimeoutControl;
909
streamContext.InitialExecutionContext =
_context
.InitialExecutionContext;
1111
_context
.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>()?.RequestClose();
1296
Log.Http2MaxConcurrentStreamsReached(
_context
.ConnectionId);
1316
Log.Http2TooManyEnhanceYourCalms(
_context
.ConnectionId, EnhanceYourCalmMaximumCount);
1344
_context
.ServiceContext.Metrics.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2);
1503
Log.Http2ConnectionClosing(
_context
.ConnectionId);
1581
if (_totalParsedHeaderSize >
_context
.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2)
1825
Log.Http2ConnectionClosed(
_context
.ConnectionId, _highestOpenedStreamId);
1842
private PipeOptions GetInputPipeOptions() => new PipeOptions(pool:
_context
.MemoryPool,
1843
readerScheduler:
_context
.ServiceContext.Scheduler,
1847
minimumSegmentSize:
_context
.MemoryPool.GetMinimumSegmentSize(),