3 writes to _currentHeadersStream
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http2\Http2Connection.cs (3)
835_currentHeadersStream = stream; 867_currentHeadersStream = GetStream(application); 1360_currentHeadersStream = null;
44 references to _currentHeadersStream
Microsoft.AspNetCore.Server.Kestrel.Core (44)
Internal\Http2\Http2Connection.cs (44)
425Debug.Assert(_currentHeadersStream != null); 427Log.HPackDecodingError(ConnectionId, _currentHeadersStream.StreamId, ex); 706if (_currentHeadersStream != null) 777Debug.Assert(_currentHeadersStream != null, "Only throw this error if parsing headers."); 778return new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.StreamId), Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.UnexpectedFrame); 788if (_currentHeadersStream != null) 916if (_currentHeadersStream != null) 941if (_currentHeadersStream != null) 981if (_currentHeadersStream != null) 1065if (_currentHeadersStream != null) 1099if (_currentHeadersStream != null) 1118if (_currentHeadersStream != null) 1182if (_currentHeadersStream == null) 1187if (_incomingFrame.StreamId != _currentHeadersStream.StreamId) 1211if (_currentHeadersStream != null) 1221Debug.Assert(_currentHeadersStream != null); 1225_highestOpenedStreamId = _currentHeadersStream.StreamId; 1230_currentHeadersStream.OnHeadersComplete(); 1238_currentHeadersStream.Dispose(); 1248Debug.Assert(_currentHeadersStream != null); 1254_currentHeadersStream.OnEndStreamReceived(); 1263Debug.Assert(_currentHeadersStream != null); 1266_streams[_incomingFrame.StreamId] = _currentHeadersStream; 1272_currentHeadersStream.TotalParsedHeaderSize = _totalParsedHeaderSize; 1275_currentHeadersStream.InputRemaining = _currentHeadersStream.RequestHeaders.ContentLength; 1281_currentHeadersStream.OnEndStreamReceived(); 1289throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.HttpErrorMissingMandatoryPseudoHeaderFields, Http2ErrorCode.PROTOCOL_ERROR); 1302throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.Http2ErrorMaxStreams, Http2ErrorCode.REFUSED_STREAM); 1327throw new Http2StreamErrorException(_currentHeadersStream.StreamId, CoreStrings.Http2TellClientToCalmDown, Http2ErrorCode.ENHANCE_YOUR_CALM); 1338_currentHeadersStream.DecrementActiveClientStreamCount(); 1339_currentHeadersStream.CompleteStream(errored: true); 1343KestrelEventSource.Log.RequestQueuedStart(_currentHeadersStream, AspNetCore.Http.HttpProtocol.Http2); 1350ThreadPool.UnsafeQueueUserWorkItem(_currentHeadersStream, preferLocal: false); 1354_currentHeadersStream.Execute(); 1436if (stream == _currentHeadersStream) 1574Debug.Assert(_currentHeadersStream != null); 1595_currentHeadersStream.OnTrailer(name, value); 1606_currentHeadersStream.OnHeader(staticTableIndex.GetValueOrDefault(), indexOnly: true, name, value); 1612_currentHeadersStream.OnHeader(staticTableIndex.GetValueOrDefault(), indexOnly: false, name, value); 1620_currentHeadersStream.OnHeader(staticTableIndex.GetValueOrDefault(), indexOnly: false, name, value); 1626_currentHeadersStream.OnHeader(name, value, checkForNewlineChars: false); 1634_currentHeadersStream.OnHeader(name, value, checkForNewlineChars: true); 1659=> _currentHeadersStream!.OnHeadersComplete();