cowlib
cowlib copied to clipboard
Allow setting a default max_size for the encoder in Cowboy/Gun
Instead of calling cow_hpack:init/0
they'd call the /1
variant. The default MUST be lower than the protocol default otherwise things may not work.
This doesn't apply to the decoder since we must conform to the SETTINGS value to decode properly.