Method HPack.Context()->set_dynamic_size()
- Method set_dynamic_size
void
set_dynamic_size(Stdio.Buffer
buf
,int(0..)
new_max_size
)- Description
Set the dynamic maximum size of the dynamic header lookup table.
- Parameter
buf
Output buffer.
- Parameter
new_max_size
New dynamic maximum size in bytes (as calculated by RFC 7541 section 4.1).
- Note
This function can be used to clear the dynamic header table by setting the size to zero.
- Note
Also note that the
new_max_size
has an upper bound that is limited by static_max_size.- See also