38 writes to PayloadLength
IIS.NewHandler.FunctionalTests (38)
src\Shared\Http2cat\Http2Utilities.cs (28)
191
frame.
PayloadLength
= length;
211
frame.
PayloadLength
= length;
298
frame.
PayloadLength
= extendedHeaderLength + length + padLength;
337
frame.
PayloadLength
= extendedHeaderLength + length;
384
frame.
PayloadLength
= extendedHeaderLength + length + padLength;
417
frame.
PayloadLength
= payload.Length;
438
frame.
PayloadLength
= length;
451
frame.
PayloadLength
= payload.Length;
463
frame.
PayloadLength
= length;
474
frame.
PayloadLength
= 6;
491
frame.
PayloadLength
= 0;
507
frame.
PayloadLength
= length;
521
frame.
PayloadLength
= headerBlock.Length;
535
frame.
PayloadLength
= payloadLength;
552
frame.
PayloadLength
= 3;
572
frame.
PayloadLength
= length;
586
frame.
PayloadLength
= payload.Length;
600
frame.
PayloadLength
= length;
614
frame.
PayloadLength
= 0;
626
frame.
PayloadLength
= 3;
644
frame.
PayloadLength
= data.Length;
657
frame.
PayloadLength
= data.Length + 1 + padLength;
680
frame.
PayloadLength
= frameLength;
705
pingFrame.
PayloadLength
= length;
748
priorityFrame.
PayloadLength
= length;
776
frame.
PayloadLength
= length;
817
frame.
PayloadLength
= length;
828
frame.
PayloadLength
= 0;
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;
18 references to PayloadLength
IIS.NewHandler.FunctionalTests (18)
src\Shared\Http2cat\Http2Utilities.cs (14)
258
Bitshifter.WriteUInt24BigEndian(buffer, (uint)frame.
PayloadLength
);
306
writableBuffer.Write(buffer.Slice(0, frame.
PayloadLength
));
345
writableBuffer.Write(buffer.Slice(0, frame.
PayloadLength
));
392
writableBuffer.Write(buffer.Slice(0, frame.
PayloadLength
));
719
return SendAsync(new byte[pingFrame.
PayloadLength
]);
735
var payload = new byte[priorityFrame.
PayloadLength
].AsSpan();
764
var payload = new byte[rstStreamFrame.
PayloadLength
];
787
return SendAsync(new byte[frame.
PayloadLength
]);
797
return SendAsync(new byte[frame.
PayloadLength
]);
877
Assert.Equal(withLength, frame.
PayloadLength
);
919
Assert.Equal(length, frame.
PayloadLength
);
925
Assert.Equal(8, frame.
PayloadLength
);
937
Assert.Equal(4, frame.
PayloadLength
);
969
Assert.Equal(4, frame.
PayloadLength
);
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
)