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); 207public string ConnectionId => _context.ConnectionId; 211public KestrelTrace Log => _context.ServiceContext.Log; 212public IFeatureCollection ConnectionFeatures => _context.ConnectionFeatures; 213public TimeProvider TimeProvider => _context.ServiceContext.TimeProvider; 214public ITimeoutControl TimeoutControl => _context.TimeoutControl; 215public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 231var useException = _context.ServiceContext.ServerOptions.FinOnError || hasActiveStreams; 310var connectionWindow = _context.ServiceContext.ServerOptions.Limits.Http2.InitialConnectionWindowSize; 493_context.Transport.Input.CancelPendingRead(); 593await _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, 908streamContext.TimeoutControl = _context.TimeoutControl; 909streamContext.InitialExecutionContext = _context.InitialExecutionContext; 1111_context.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>()?.RequestClose(); 1300Log.Http2MaxConcurrentStreamsReached(_context.ConnectionId); 1320Log.Http2TooManyEnhanceYourCalms(_context.ConnectionId, EnhanceYourCalmMaximumCount); 1348_context.ServiceContext.Metrics.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2); 1507Log.Http2ConnectionClosing(_context.ConnectionId); 1585if (_totalParsedHeaderSize > _context.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2) 1829Log.Http2ConnectionClosed(_context.ConnectionId, _highestOpenedStreamId); 1846private PipeOptions GetInputPipeOptions() => new PipeOptions(pool: _context.MemoryPool, 1847readerScheduler: _context.ServiceContext.Scheduler, 1851minimumSegmentSize: _context.MemoryPool.GetMinimumSegmentSize(),