Cowboy 2.4 focused on improving the HTTP/2 implementation. All existing tests from RFC7540 and the h2spec test suite now all pass. Numerous options have been added to control SETTINGS and related behavior. In addition experimental support for Websocket over HTTP/2 was added.
enable_connect_protocoloption to enable. It implements the following draft: https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-01
max_encode_table_sizeto restrict the size of the HPACK compression dictionary.
max_concurrent_streamsto restrict the number of HTTP/2 streams that can be opened concurrently.
initial_stream_window_sizeto restrict the size of the HTTP/2 request body buffers for the whole connection and per stream, respectively.
max_frame_size_sentto restrict the size of HTTP/2 frames.
settings_timeoutto reject clients that did not send a SETTINGS ack. Note that this currently may only occur at the beginning of the connection.
Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:
Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.