1 write to _context
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http2\Http2Connection.cs (1)
139
_context
= context;
31 references to _context
Microsoft.AspNetCore.Server.Kestrel.Core (31)
Internal\Http2\Http2Connection.cs (31)
144
_context
.InitialExecutionContext = ExecutionContext.Capture();
174
_inputTask = CopyPipeAsync(
_context
.Transport.Input, _input.Writer);
188
public string ConnectionId =>
_context
.ConnectionId;
192
public KestrelTrace Log =>
_context
.ServiceContext.Log;
193
public IFeatureCollection ConnectionFeatures =>
_context
.ConnectionFeatures;
194
public TimeProvider TimeProvider =>
_context
.ServiceContext.TimeProvider;
195
public ITimeoutControl TimeoutControl =>
_context
.TimeoutControl;
196
public KestrelServerLimits Limits =>
_context
.ServiceContext.ServerOptions.Limits;
208
var useException =
_context
.ServiceContext.ServerOptions.FinOnError || _clientActiveStreamCount != 0;
271
var connectionWindow =
_context
.ServiceContext.ServerOptions.Limits.Http2.InitialConnectionWindowSize;
443
_context
.Transport.Input.CancelPendingRead();
543
await
_context
.Transport.Output.WriteAsync(responseBytes);
815
_context
.AltSvcHeader,
816
_context
.ConnectionContext,
817
_context
.ServiceContext,
818
_context
.ConnectionFeatures,
819
_context
.MemoryPool,
820
_context
.LocalEndPoint,
821
_context
.RemoteEndPoint,
829
streamContext.TimeoutControl =
_context
.TimeoutControl;
830
streamContext.InitialExecutionContext =
_context
.InitialExecutionContext;
1026
_context
.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>()?.RequestClose();
1211
Log.Http2MaxConcurrentStreamsReached(
_context
.ConnectionId);
1231
Log.Http2TooManyEnhanceYourCalms(
_context
.ConnectionId, EnhanceYourCalmMaximumCount);
1259
_context
.ServiceContext.Metrics.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2);
1418
Log.Http2ConnectionClosing(
_context
.ConnectionId);
1495
if (_totalParsedHeaderSize >
_context
.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2)
1733
Log.Http2ConnectionClosed(
_context
.ConnectionId, _highestOpenedStreamId);
1750
private PipeOptions GetInputPipeOptions() => new PipeOptions(pool:
_context
.MemoryPool,
1751
readerScheduler:
_context
.ServiceContext.Scheduler,
1755
minimumSegmentSize:
_context
.MemoryPool.GetMinimumSegmentSize(),