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);
906
_context
.AltSvcHeader,
907
_context
.ConnectionContext,
908
_context
.ServiceContext,
909
_context
.ConnectionFeatures,
910
_context
.MemoryPool,
911
_context
.LocalEndPoint,
912
_context
.RemoteEndPoint,
920
streamContext.TimeoutControl =
_context
.TimeoutControl;
921
streamContext.InitialExecutionContext =
_context
.InitialExecutionContext;
1123
_context
.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>()?.RequestClose();
1326
Log.Http2MaxConcurrentStreamsReached(
_context
.ConnectionId);
1346
Log.Http2TooManyEnhanceYourCalms(
_context
.ConnectionId, EnhanceYourCalmMaximumCount);
1374
_context
.ServiceContext.Metrics.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2);
1533
Log.Http2ConnectionClosing(
_context
.ConnectionId);
1611
if (_totalParsedHeaderSize >
_context
.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2)
1855
Log.Http2ConnectionClosed(
_context
.ConnectionId, _highestOpenedStreamId);
1872
private PipeOptions GetInputPipeOptions() => new PipeOptions(pool:
_context
.MemoryPool,
1873
readerScheduler:
_context
.ServiceContext.Scheduler,
1877
minimumSegmentSize:
_context
.MemoryPool.GetMinimumSegmentSize(),