summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_config.h
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2023-02-16 12:58:45 +0100
committerStefan Eissing <icing@apache.org>2023-02-16 12:58:45 +0100
commitff6b8026acb8610e4faf10ee345141a3da85946e (patch)
treed6d061d4d73d3b48252be65464a2d024a49c7db2 /modules/http2/h2_config.h
parent *) mod_http2: deny protocol upgrade if the request has a chunked-encoded body. (diff)
downloadapache2-ff6b8026acb8610e4faf10ee345141a3da85946e.tar.xz
apache2-ff6b8026acb8610e4faf10ee345141a3da85946e.zip
*) mod_http2: new directive 'H2MaxDataFrameLen n' to limit the maximum
amount of response body bytes put into a single HTTP/2 DATA frame. Setting this to 0 places no limit (but the max size allowed by the protocol is observed). The module, by default, tries to use the maximum size possible, which is somewhat around 16KB. This sets the maximum. When less response data is available, smaller frames will be sent. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/h2_config.h')
-rw-r--r--modules/http2/h2_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/http2/h2_config.h b/modules/http2/h2_config.h
index 6d2e65f926..018be64883 100644
--- a/modules/http2/h2_config.h
+++ b/modules/http2/h2_config.h
@@ -43,6 +43,7 @@ typedef enum {
H2_CONF_PADDING_ALWAYS,
H2_CONF_OUTPUT_BUFFER,
H2_CONF_STREAM_TIMEOUT,
+ H2_CONF_MAX_DATA_FRAME_LEN,
} h2_config_var_t;
struct apr_hash_t;