1 write to _context
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http2\Http2Connection.cs (1)
161
_context
= context;
31 references to _context
Microsoft.AspNetCore.Server.Kestrel.Core (31)
Internal\Http2\Http2Connection.cs (31)
167
_context
.InitialExecutionContext = ExecutionContext.Capture();
197
_inputTask = CopyPipeAsync(
_context
.Transport.Input, _input.Writer);
211
public string ConnectionId =>
_context
.ConnectionId;
215
public KestrelTrace Log =>
_context
.ServiceContext.Log;
216
public IFeatureCollection ConnectionFeatures =>
_context
.ConnectionFeatures;
217
public TimeProvider TimeProvider =>
_context
.ServiceContext.TimeProvider;
218
public ITimeoutControl TimeoutControl =>
_context
.TimeoutControl;
219
public KestrelServerLimits Limits =>
_context
.ServiceContext.ServerOptions.Limits;
235
var useException =
_context
.ServiceContext.ServerOptions.FinOnError || hasActiveStreams;
314
var connectionWindow =
_context
.ServiceContext.ServerOptions.Limits.Http2.InitialConnectionWindowSize;
497
_context
.Transport.Input.CancelPendingRead();
597
await
_context
.Transport.Output.WriteAsync(responseBytes);
910
_context
.AltSvcHeader,
911
_context
.ConnectionContext,
912
_context
.ServiceContext,
913
_context
.ConnectionFeatures,
914
_context
.MemoryPool,
915
_context
.LocalEndPoint,
916
_context
.RemoteEndPoint,
924
streamContext.TimeoutControl =
_context
.TimeoutControl;
925
streamContext.InitialExecutionContext =
_context
.InitialExecutionContext;
1127
_context
.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>()?.RequestClose();
1330
Log.Http2MaxConcurrentStreamsReached(
_context
.ConnectionId);
1350
Log.Http2TooManyEnhanceYourCalms(
_context
.ConnectionId, EnhanceYourCalmMaximumCount);
1378
_context
.ServiceContext.Metrics.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2);
1537
Log.Http2ConnectionClosing(
_context
.ConnectionId);
1615
if (_totalParsedHeaderSize >
_context
.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2)
1865
Log.Http2ConnectionClosed(
_context
.ConnectionId, _highestOpenedStreamId);
1882
private PipeOptions GetInputPipeOptions() => new PipeOptions(pool:
_context
.MemoryPool,
1883
readerScheduler:
_context
.ServiceContext.Scheduler,
1887
minimumSegmentSize:
_context
.MemoryPool.GetMinimumSegmentSize(),