18 writes to PayloadLength
Microsoft.AspNetCore.Server.Kestrel.Core (18)
Internal\Http2\Http2FrameWriter.cs (8)
509
_outgoingFrame.
PayloadLength
= ContinueBytes.Length;
620
_outgoingFrame.
PayloadLength
= currentSize;
640
_outgoingFrame.
PayloadLength
= payloadLength;
648
_outgoingFrame.
PayloadLength
= payloadLength;
733
_outgoingFrame.
PayloadLength
= (int)dataLength; // Plus padding
754
_outgoingFrame.
PayloadLength
= dataPayloadLength; // Plus padding
771
_outgoingFrame.
PayloadLength
= (int)dataLength; // Plus padding
913
_outgoingFrame.
PayloadLength
= settingsSize;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Continuation.cs (1)
25
PayloadLength
= 0;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Data.cs (1)
35
PayloadLength
= 0;
src\Shared\ServerInfrastructure\Http2\Http2Frame.GoAway.cs (1)
23
PayloadLength
= 8;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Headers.cs (1)
47
PayloadLength
= 0;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Ping.cs (1)
25
PayloadLength
= 8;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Priority.cs (1)
23
PayloadLength
= 5;
src\Shared\ServerInfrastructure\Http2\Http2Frame.RstStream.cs (1)
17
PayloadLength
= 4;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Settings.cs (1)
26
PayloadLength
= 0;
src\Shared\ServerInfrastructure\Http2\Http2Frame.WindowUpdate.cs (1)
17
PayloadLength
= 4;
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
64
frame.
PayloadLength
= payloadLength;
17 references to PayloadLength
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http2\Http2Connection.cs (8)
716
if (_incomingFrame.DataHasPadding && _incomingFrame.DataPadLength >= _incomingFrame.
PayloadLength
)
798
if (_incomingFrame.HeadersHasPadding && _incomingFrame.HeadersPadLength >= _incomingFrame.
PayloadLength
- 1)
931
if (_incomingFrame.
PayloadLength
!= 5)
951
if (_incomingFrame.
PayloadLength
!= 4)
993
if (_incomingFrame.
PayloadLength
!= 0)
1001
if (_incomingFrame.
PayloadLength
% 6 != 0)
1075
if (_incomingFrame.
PayloadLength
!= 8)
1123
if (_incomingFrame.
PayloadLength
!= 4)
Internal\Http2\Http2FrameWriter.cs (3)
967
Debug.Assert(payload.Length == _outgoingFrame.
PayloadLength
); // 8
1015
_unflushedBytes += Http2FrameReader.HeaderLength + _outgoingFrame.
PayloadLength
;
1033
Bitshifter.WriteUInt24BigEndian(buffer, (uint)frame.
PayloadLength
);
Internal\Infrastructure\KestrelTrace.Http2.cs (2)
41
Http2Log.Http2FrameReceived(_http2Logger, connectionId, frame.Type, frame.StreamId, frame.
PayloadLength
, frame.ShowFlags());
64
Http2Log.Http2FrameSending(_http2Logger, connectionId, frame.Type, frame.StreamId, frame.
PayloadLength
, frame.ShowFlags());
src\Shared\ServerInfrastructure\Http2\Http2Frame.cs (1)
63
return $"{Type} Stream: {StreamId} Length: {
PayloadLength
} Flags: {ShowFlags()}";
src\Shared\ServerInfrastructure\Http2\Http2Frame.Data.cs (1)
31
public int DataPayloadLength =>
PayloadLength
- DataPayloadOffset - DataPadLength;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Headers.cs (1)
43
public int HeadersPayloadLength =>
PayloadLength
- HeadersPayloadOffset - HeadersPadLength;
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
83
if (extendedHeaderLength > frame.
PayloadLength
)