Closed hissssst closed 1 year ago
@whatyouhide https://httpwg.org/specs/rfc7540.html#SETTINGS
For example, a client might set a high initial flow-control window, whereas a server might set a lower value to conserve resources
And there is no definition of client or server settings in spec. All settings can be set by both client and server
Plus, put_settings
function already performs validation of server settings.
please note that put_settings/2 support only client settings https://hexdocs.pm/mint/Mint.HTTP2.html#put_settings/2
Overview
Setting server settings with
put_settings
fails, while the HTTP2 spec describes that all settings are negotiable.Environment
Reproduction
Expected beavior
Option is set, no errors occurred
Actual behavior