aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-01-16 13:11:38 +0100
committerLoïc Hoguin <[email protected]>2024-01-16 13:11:38 +0100
commitec12c2f051f94df6f4c86175caddc0d1108254cd (patch)
tree4b0dba2548902778a8e001fa375d773ff0d0cb44 /doc
parent08a8d7b9e981002545bf77af367c734d9ea162ab (diff)
downloadcowboy-ec12c2f051f94df6f4c86175caddc0d1108254cd.tar.gz
cowboy-ec12c2f051f94df6f4c86175caddc0d1108254cd.tar.bz2
cowboy-ec12c2f051f94df6f4c86175caddc0d1108254cd.zip
Recommend increasing max_frame_size_received HTTP/2 option
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/cowboy_http2.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc
index 8977c3c..6af4fc0 100644
--- a/doc/src/manual/cowboy_http2.asciidoc
+++ b/doc/src/manual/cowboy_http2.asciidoc
@@ -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)::