10 references to _receiveHttpFrame
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (10)
Http2\Http2ConnectionBenchmarkBase.cs (10)
106
Debug.Assert(
_receiveHttpFrame
.Type == Http2FrameType.SETTINGS);
108
Debug.Assert(
_receiveHttpFrame
.Type == Http2FrameType.WINDOW_UPDATE);
110
Debug.Assert(
_receiveHttpFrame
.Type == Http2FrameType.SETTINGS);
125
if (
_receiveHttpFrame
.StreamId != _currentStreamId &&
_receiveHttpFrame
.StreamId != 0)
127
throw new Exception($"Unexpected stream ID: {
_receiveHttpFrame
.StreamId}");
130
if (
_receiveHttpFrame
.Type == Http2FrameType.DATA)
132
_dataWritten +=
_receiveHttpFrame
.DataPayloadLength;
143
if ((
_receiveHttpFrame
.HeadersFlags & Http2HeadersFrameFlags.END_STREAM) == Http2HeadersFrameFlags.END_STREAM)
163
if (Http2FrameReader.TryReadFrame(ref buffer,
_receiveHttpFrame
, maxFrameSize, out var framePayload))