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)
425
Debug.Assert(
_currentHeadersStream
!= null);
427
Log.HPackDecodingError(ConnectionId,
_currentHeadersStream
.StreamId, ex);
706
if (
_currentHeadersStream
!= null)
777
Debug.Assert(
_currentHeadersStream
!= null, "Only throw this error if parsing headers.");
778
return new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId,
_currentHeadersStream
.StreamId), Http2ErrorCode.PROTOCOL_ERROR, ConnectionEndReason.UnexpectedFrame);
788
if (
_currentHeadersStream
!= null)
916
if (
_currentHeadersStream
!= null)
941
if (
_currentHeadersStream
!= null)
981
if (
_currentHeadersStream
!= null)
1065
if (
_currentHeadersStream
!= null)
1099
if (
_currentHeadersStream
!= null)
1118
if (
_currentHeadersStream
!= null)
1182
if (
_currentHeadersStream
== null)
1187
if (_incomingFrame.StreamId !=
_currentHeadersStream
.StreamId)
1211
if (
_currentHeadersStream
!= null)
1221
Debug.Assert(
_currentHeadersStream
!= null);
1225
_highestOpenedStreamId =
_currentHeadersStream
.StreamId;
1230
_currentHeadersStream
.OnHeadersComplete();
1238
_currentHeadersStream
.Dispose();
1248
Debug.Assert(
_currentHeadersStream
!= null);
1254
_currentHeadersStream
.OnEndStreamReceived();
1263
Debug.Assert(
_currentHeadersStream
!= null);
1266
_streams[_incomingFrame.StreamId] =
_currentHeadersStream
;
1272
_currentHeadersStream
.TotalParsedHeaderSize = _totalParsedHeaderSize;
1275
_currentHeadersStream
.InputRemaining =
_currentHeadersStream
.RequestHeaders.ContentLength;
1281
_currentHeadersStream
.OnEndStreamReceived();
1289
throw new Http2StreamErrorException(
_currentHeadersStream
.StreamId, CoreStrings.HttpErrorMissingMandatoryPseudoHeaderFields, Http2ErrorCode.PROTOCOL_ERROR);
1302
throw new Http2StreamErrorException(
_currentHeadersStream
.StreamId, CoreStrings.Http2ErrorMaxStreams, Http2ErrorCode.REFUSED_STREAM);
1327
throw new Http2StreamErrorException(
_currentHeadersStream
.StreamId, CoreStrings.Http2TellClientToCalmDown, Http2ErrorCode.ENHANCE_YOUR_CALM);
1338
_currentHeadersStream
.DecrementActiveClientStreamCount();
1339
_currentHeadersStream
.CompleteStream(errored: true);
1343
KestrelEventSource.Log.RequestQueuedStart(
_currentHeadersStream
, AspNetCore.Http.HttpProtocol.Http2);
1350
ThreadPool.UnsafeQueueUserWorkItem(
_currentHeadersStream
, preferLocal: false);
1354
_currentHeadersStream
.Execute();
1436
if (stream ==
_currentHeadersStream
)
1574
Debug.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();