1 write to _context
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\HttpConnection.cs (1)
42_context = context;
21 references to _context
Microsoft.AspNetCore.Server.Kestrel.Core (21)
Internal\HttpConnection.cs (21)
43_timeProvider = _context.ServiceContext.TimeProvider; 48_context.TimeoutControl ??= _timeoutControl; 51private KestrelTrace Log => _context.ServiceContext.Log; 59connectionMetricsTagsFeature = _context.ConnectionFeatures.Get<IConnectionMetricsTagsFeature>(); 70requestProcessor = _http1Connection = new Http1Connection<TContext>((HttpConnectionContext)_context); 78requestProcessor = new Http2Connection((HttpConnectionContext)_context); 83requestProcessor = new Http3Connection((HttpMultiplexedConnectionContext)_context); 100var connectionHeartbeatFeature = _context.ConnectionFeatures.Get<IConnectionHeartbeatFeature>(); 101var connectionLifetimeNotificationFeature = _context.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>(); 117using var closedRegistration = _context.ConnectionContext.ConnectionClosed.Register(state => ((HttpConnection)state!).OnConnectionClosed(), this); 129if (_context.MetricsContext.ConnectionEndReason is { } connectionEndReason) 138if (_context.ConnectionContext.Features.Get<IConnectionMetricsTagsFeature>() is { } metricsTags) 215var hasTls = _context.ConnectionFeatures.Get<ITlsConnectionFeature>() != null; 216var applicationProtocol = _context.ConnectionFeatures.Get<ITlsApplicationProtocolFeature>()?.ApplicationProtocol 218var isMultiplexTransport = _context is HttpMultiplexedConnectionContext; 219var http1Enabled = _context.Protocols.HasFlag(HttpProtocols.Http1); 220var http2Enabled = _context.Protocols.HasFlag(HttpProtocols.Http2); 221var http3Enabled = _context.Protocols.HasFlag(HttpProtocols.Http3); 225if (_context.Protocols == HttpProtocols.None) 237error = $"Protocols {_context.Protocols} not supported on multiplexed transport."; 290Log.ResponseMinimumDataRateNotSatisfied(_context.ConnectionId, _http1Connection?.TraceIdentifier);