Skip to content

Commit

Permalink
Recommend increasing max_frame_size_received HTTP/2 option
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Jan 16, 2024
1 parent 08a8d7b commit ec12c2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/src/manual/cowboy_http2.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)::

Expand Down

0 comments on commit ec12c2f

Please sign in to comment.