6 references to MaxPayloadLength
System.Net.Http (6)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (6)
436if (frameHeader.PayloadLength > FrameHeader.MaxPayloadLength) 1644int frameCount = ((headerBytes.Length - 1) / FrameHeader.MaxPayloadLength) + 1; 1665(current, remaining) = SplitBuffer(s.headerBytes, FrameHeader.MaxPayloadLength); 1677(current, remaining) = SplitBuffer(remaining, FrameHeader.MaxPayloadLength); 1714int frameSize = Math.Min(remaining.Length, FrameHeader.MaxPayloadLength); 1942Debug.Assert((uint)payloadLength <= MaxPayloadLength);