34 references to StreamId
Microsoft.AspNetCore.Server.Kestrel.Core (34)
Internal\Http2\FlowControl\StreamInputFlowControl.cs (1)
13
private int StreamId => _stream.
StreamId
;
Internal\Http2\Http2Connection.cs (22)
380
Log.HPackDecodingError(ConnectionId, _currentHeadersStream.
StreamId
, ex);
655
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
675
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamAborted(_incomingFrame.Type, stream.
StreamId
), Http2ErrorCode.STREAM_CLOSED);
687
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamHalfClosedRemote(_incomingFrame.Type, stream.
StreamId
), Http2ErrorCode.STREAM_CLOSED);
711
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
734
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamAborted(_incomingFrame.Type, stream.
StreamId
), Http2ErrorCode.STREAM_CLOSED);
746
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamHalfClosedRemote(_incomingFrame.Type, stream.
StreamId
), Http2ErrorCode.STREAM_CLOSED);
839
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
864
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
904
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
984
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
1016
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
1035
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
1077
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorStreamAborted(_incomingFrame.Type, stream.
StreamId
), Http2ErrorCode.STREAM_CLOSED);
1102
if (_incomingFrame.StreamId != _currentHeadersStream.
StreamId
)
1104
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
1128
throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorHeadersInterleaved(_incomingFrame.Type, _incomingFrame.StreamId, _currentHeadersStream.
StreamId
), Http2ErrorCode.PROTOCOL_ERROR);
1140
_highestOpenedStreamId = _currentHeadersStream.
StreamId
;
1204
throw new Http2StreamErrorException(_currentHeadersStream.
StreamId
, CoreStrings.HttpErrorMissingMandatoryPseudoHeaderFields, Http2ErrorCode.PROTOCOL_ERROR);
1217
throw new Http2StreamErrorException(_currentHeadersStream.
StreamId
, CoreStrings.Http2ErrorMaxStreams, Http2ErrorCode.REFUSED_STREAM);
1242
throw new Http2StreamErrorException(_currentHeadersStream.
StreamId
, CoreStrings.Http2TellClientToCalmDown, Http2ErrorCode.ENHANCE_YOUR_CALM);
1373
_streams.Remove(stream.
StreamId
);
Internal\Http2\Http2FrameWriter.cs (6)
216
WriteResponseHeaders(stream.
StreamId
, stream.StatusCode, Http2HeadersFrameFlags.NONE, (HttpResponseHeaders)stream.ResponseHeaders);
253
_log.Http2UnexpectedDataRemaining(stream.
StreamId
, _connectionId);
429
WriteResponseHeadersUnsynchronized(stream.
StreamId
, stream.StatusCode, Http2HeadersFrameFlags.END_STREAM, (HttpResponseHeaders)stream.ResponseHeaders);
513
var streamId = stream.
StreamId
;
664
WriteResponseHeadersUnsynchronized(stream.
StreamId
, stream.StatusCode, Http2HeadersFrameFlags.NONE, (HttpResponseHeaders)stream.ResponseHeaders);
671
WriteDataUnsynchronized(stream.
StreamId
, data, dataLength, endStream);
Internal\Http2\Http2OutputProducer.cs (2)
17
private int StreamId => _stream.
StreamId
;
92
internal (int, long, State, State, long) SchedulingState => (Stream.
StreamId
, _unconsumedBytes, _unobservedState, _currentState, _streamWindow);
Internal\Http2\Http2Stream.cs (3)
180
=> StringUtilities.ConcatAsHexSuffix(ConnectionId, ':', (uint)
StreamId
);
483
throw new Http2StreamErrorException(
StreamId
, CoreStrings.Http2StreamErrorMoreDataThanLength, Http2ErrorCode.PROTOCOL_ERROR);
528
throw new Http2StreamErrorException(
StreamId
, CoreStrings.Http2StreamErrorLessDataThanLength, Http2ErrorCode.PROTOCOL_ERROR);