0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 04:10:24 +00:00

Recommend increasing max_frame_size_received HTTP/2 option

This commit is contained in:
Loïc Hoguin 2024-01-16 13:11:38 +01:00
parent 08a8d7b9e9
commit ec12c2f051
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -173,6 +173,12 @@ max_frame_size_received (16384)::
Maximum size in bytes of the frames received by the server. This value is
advertised to the remote endpoint which can then decide to use
any value lower or equal for its frame sizes.
+
It is highly recommended to increase this value for performance reasons.
In a future Cowboy version the default will be increased to 1MB (1048576).
Too low values may result in very large file uploads failing because
Cowboy will detect the large number of frames as flood and close the
connection.
max_frame_size_sent (infinity)::