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); 211public string ConnectionId => _context.ConnectionId; 215public KestrelTrace Log => _context.ServiceContext.Log; 216public IFeatureCollection ConnectionFeatures => _context.ConnectionFeatures; 217public TimeProvider TimeProvider => _context.ServiceContext.TimeProvider; 218public ITimeoutControl TimeoutControl => _context.TimeoutControl; 219public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 235var useException = _context.ServiceContext.ServerOptions.FinOnError || hasActiveStreams; 314var connectionWindow = _context.ServiceContext.ServerOptions.Limits.Http2.InitialConnectionWindowSize; 497_context.Transport.Input.CancelPendingRead(); 597await _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, 924streamContext.TimeoutControl = _context.TimeoutControl; 925streamContext.InitialExecutionContext = _context.InitialExecutionContext; 1127_context.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>()?.RequestClose(); 1330Log.Http2MaxConcurrentStreamsReached(_context.ConnectionId); 1350Log.Http2TooManyEnhanceYourCalms(_context.ConnectionId, EnhanceYourCalmMaximumCount); 1378_context.ServiceContext.Metrics.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2); 1537Log.Http2ConnectionClosing(_context.ConnectionId); 1615if (_totalParsedHeaderSize > _context.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2) 1865Log.Http2ConnectionClosed(_context.ConnectionId, _highestOpenedStreamId); 1882private PipeOptions GetInputPipeOptions() => new PipeOptions(pool: _context.MemoryPool, 1883readerScheduler: _context.ServiceContext.Scheduler, 1887minimumSegmentSize: _context.MemoryPool.GetMinimumSegmentSize(),