changeset 1596:e491c669220e

Documented http2_max_field_size, http2_max_header_size
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 21 Sep 2015 11:59:01 +0300
parents 75901b2acf09
children 8b97ba73129b
files xml/en/docs/http/ngx_http_v2_module.xml
diffstat 1 files changed, 35 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_v2_module.xml
+++ b/xml/en/docs/http/ngx_http_v2_module.xml
@@ -9,7 +9,7 @@
 <module name="Module ngx_http_v2_module"
         link="/en/docs/http/ngx_http_v2_module.html"
         lang="en"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
@@ -127,6 +127,40 @@ in a connection.
 </directive>
 
 
+<directive name="http2_max_field_size">
+<syntax><value>size</value></syntax>
+<default>4k</default>
+<context>http</context>
+<context>server</context>
+
+<para>
+Limits the maximum size of
+an <link url="http://tools.ietf.org/html/rfc7541">HPACK</link>-compressed
+request header field.
+The limit applies equally to both name and value.
+Note that if Huffman encoding is applied,
+the actual size of decompressed name and value strings may be larger.
+For most requests, the default limit should be enough.
+</para>
+
+</directive>
+
+
+<directive name="http2_max_header_size">
+<syntax><value>size</value></syntax>
+<default>16k</default>
+<context>http</context>
+<context>server</context>
+
+<para>
+Limits the maximum size of the entire request header list after
+<link url="http://tools.ietf.org/html/rfc7541">HPACK</link> decompression.
+For most requests, the default limit should be enough.
+</para>
+
+</directive>
+
+
 <directive name="http2_recv_buffer_size">
 <syntax><value>size</value></syntax>
 <default>256k</default>