1 write to PayloadLength
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1913PayloadLength = payloadLength;
29 references to PayloadLength
System.Net.Http (29)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (29)
436if (frameHeader.PayloadLength > FrameHeader.MaxPayloadLength) 450if (_incomingBuffer.ActiveLength < frameHeader.PayloadLength) 452_incomingBuffer.EnsureAvailableSpace(frameHeader.PayloadLength - _incomingBuffer.ActiveLength); 460if (bytesRead == 0) ThrowPrematureEOF(frameHeader.PayloadLength); 462while (_incomingBuffer.ActiveLength < frameHeader.PayloadLength); 666GetFrameData(_incomingBuffer.ActiveSpan.Slice(0, frameHeader.PayloadLength), frameHeader.PaddedFlag, frameHeader.PriorityFlag), 669_incomingBuffer.Discard(frameHeader.PayloadLength); 682_incomingBuffer.ActiveSpan.Slice(0, frameHeader.PayloadLength), 685_incomingBuffer.Discard(frameHeader.PayloadLength); 750ReadOnlySpan<byte> span = _incomingBuffer.ActiveSpan.Slice(0, frameHeader.PayloadLength); 771_incomingBuffer.Discard(frameHeader.PayloadLength); 783ReadOnlySpan<byte> frameData = GetFrameData(_incomingBuffer.ActiveSpan.Slice(0, frameHeader.PayloadLength), hasPad: frameHeader.PaddedFlag, hasPriority: false); 800_incomingBuffer.Discard(frameHeader.PayloadLength); 814if (frameHeader.PayloadLength != 0) 831if ((frameHeader.PayloadLength % 6) != 0) 837ReadOnlySpan<byte> settings = _incomingBuffer.ActiveSpan.Slice(0, frameHeader.PayloadLength); 917_incomingBuffer.Discard(frameHeader.PayloadLength); 963if (frameHeader.StreamId == 0 || frameHeader.PayloadLength != FrameHeader.PriorityInfoLength) 970_incomingBuffer.Discard(frameHeader.PayloadLength); 982if (frameHeader.PayloadLength != FrameHeader.PingLength) 1004_incomingBuffer.Discard(frameHeader.PayloadLength); 1011if (frameHeader.PayloadLength != FrameHeader.WindowUpdateLength) 1025_incomingBuffer.Discard(frameHeader.PayloadLength); 1048if (frameHeader.PayloadLength != FrameHeader.RstStreamLength) 1062_incomingBuffer.Discard(frameHeader.PayloadLength); 1069_incomingBuffer.Discard(frameHeader.PayloadLength); 1114if (frameHeader.PayloadLength < FrameHeader.GoAwayMinLength) 1128_incomingBuffer.Discard(frameHeader.PayloadLength); 1953public override string ToString() => $"StreamId={StreamId}; Type={Type}; Flags={Flags}; PayloadLength={PayloadLength}"; // Description for diagnostic purposes