5 references to RfcOverhead
Microsoft.AspNetCore.Shared.Tests (5)
runtime\Http2\DynamicTableTest.cs (2)
149
Debug.Assert((insertSize % 64) == 0, $"{nameof(insertSize)} must be a multiple of 64 ({nameof(HeaderField)}.{nameof(HeaderField.
RfcOverhead
)} * 2)");
160
insertedSize += data.Length * 2 + HeaderField.
RfcOverhead
;
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
17
_buffer = new HeaderField[maxSize / HeaderField.
RfcOverhead
];
81
var newBuffer = new HeaderField[maxSize / HeaderField.
RfcOverhead
];
src\Shared\runtime\Http2\Hpack\HeaderField.cs (1)
39
public static int GetLength(int nameLength, int valueLength) => nameLength + valueLength +
RfcOverhead
;