8 references to HeaderLength
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http2\Http2FrameWriter.cs (3)
1015
_unflushedBytes += Http2FrameReader.
HeaderLength
+ _outgoingFrame.PayloadLength;
1031
var buffer = output.GetSpan(Http2FrameReader.
HeaderLength
);
1042
output.Advance(Http2FrameReader.
HeaderLength
);
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (5)
43
if (buffer.Length <
HeaderLength
)
48
var headerSlice = buffer.Slice(0,
HeaderLength
);
58
var frameLength =
HeaderLength
+ payloadLength;
72
framePayload = buffer.Slice(
HeaderLength
+ extendedHeaderLength, payloadLength - extendedHeaderLength);
89
var extendedHeaders = readableBuffer.Slice(
HeaderLength
, extendedHeaderLength).ToSpan();