|
81 | 81 | <li><img alt="" src="../images/down.gif" /> <a href="#h2earlyhint">H2EarlyHint</a></li> |
82 | 82 | <li><img alt="" src="../images/down.gif" /> <a href="#h2earlyhints">H2EarlyHints</a></li> |
83 | 83 | <li><img alt="" src="../images/down.gif" /> <a href="#h2maxdataframelen">H2MaxDataFrameLen</a></li> |
| 84 | +<li><img alt="" src="../images/down.gif" /> <a href="#h2maxheaderblocklen">H2MaxHeaderBlockLen</a></li> |
84 | 85 | <li><img alt="" src="../images/down.gif" /> <a href="#h2maxsessionstreams">H2MaxSessionStreams</a></li> |
| 86 | +<li><img alt="" src="../images/down.gif" /> <a href="#h2maxstreamerrors">H2MaxStreamErrors</a></li> |
85 | 87 | <li><img alt="" src="../images/down.gif" /> <a href="#h2maxworkeridleseconds">H2MaxWorkerIdleSeconds</a></li> |
86 | 88 | <li><img alt="" src="../images/down.gif" /> <a href="#h2maxworkers">H2MaxWorkers</a></li> |
87 | 89 | <li><img alt="" src="../images/down.gif" /> <a href="#h2minworkers">H2MinWorkers</a></li> |
|
372 | 374 | response data is available, smaller frames will be sent. |
373 | 375 | </p> |
374 | 376 |
|
| 377 | +</div> |
| 378 | +<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
| 379 | +<div class="directive-section"><h2><a name="H2MaxHeaderBlockLen" id="H2MaxHeaderBlockLen">H2MaxHeaderBlockLen</a> <a name="h2maxheaderblocklen" id="h2maxheaderblocklen">Directive</a> <a title="Permanent link" href="#h2maxheaderblocklen" class="permalink">¶</a></h2> |
| 380 | +<table class="directive"> |
| 381 | +<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Maximum size of response headers</td></tr> |
| 382 | +<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>H2MaxHeaderBlockLen <em>n</em></code></td></tr> |
| 383 | +<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>H2MaxHeaderBlockLen 0</code></td></tr> |
| 384 | +<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> |
| 385 | +<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> |
| 386 | +<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_http2</td></tr> |
| 387 | +<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in version 2.5.1 and later.</td></tr> |
| 388 | +</table> |
| 389 | + <p> |
| 390 | + <code class="directive">H2MaxHeaderBlockLen</code> sets the limit |
| 391 | + on the overall size of response headers. A setting of 0 |
| 392 | + will leave this at the default of 64 KB in nghttp2. |
| 393 | + </p> |
| 394 | + <p> |
| 395 | + Responses with headers larger than this (adding all headers) |
| 396 | + will not be processed and result in a reset of the stream. |
| 397 | + </p> |
| 398 | + |
375 | 399 | </div> |
376 | 400 | <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
377 | 401 | <div class="directive-section"><h2><a name="H2MaxSessionStreams" id="H2MaxSessionStreams">H2MaxSessionStreams</a> <a name="h2maxsessionstreams" id="h2maxsessionstreams">Directive</a> <a title="Permanent link" href="#h2maxsessionstreams" class="permalink">¶</a></h2> |
|
391 | 415 | <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">H2MaxSessionStreams 20</pre> |
392 | 416 | </div> |
393 | 417 |
|
| 418 | +</div> |
| 419 | +<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
| 420 | +<div class="directive-section"><h2><a name="H2MaxStreamErrors" id="H2MaxStreamErrors">H2MaxStreamErrors</a> <a name="h2maxstreamerrors" id="h2maxstreamerrors">Directive</a> <a title="Permanent link" href="#h2maxstreamerrors" class="permalink">¶</a></h2> |
| 421 | +<table class="directive"> |
| 422 | +<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Maximum amount of client caused errors to tolerate</td></tr> |
| 423 | +<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>H2MaxStreamErrors <em>n</em></code></td></tr> |
| 424 | +<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>H2MaxStreamErrors 8</code></td></tr> |
| 425 | +<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr> |
| 426 | +<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> |
| 427 | +<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_http2</td></tr> |
| 428 | +<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in version 2.5.1 and later.</td></tr> |
| 429 | +</table> |
| 430 | + <p> |
| 431 | + <code class="directive">H2MaxStreamErrors</code> sets the maximum amount |
| 432 | + of tolerated HTTP/2 stream errors caused by the client. |
| 433 | + When exceeding this limit, the connection will be closed. |
| 434 | + Stream errors are protocol violations on an individual HTTP/2 |
| 435 | + stream that do not necessitate a connection close by the |
| 436 | + protocol specification, but can be a sign of malicious |
| 437 | + activity by a client. |
| 438 | + </p> |
| 439 | + <p> |
| 440 | + Set to 0 to tolerate faulty clients. |
| 441 | + </p> |
| 442 | + |
394 | 443 | </div> |
395 | 444 | <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |
396 | 445 | <div class="directive-section"><h2><a name="H2MaxWorkerIdleSeconds" id="H2MaxWorkerIdleSeconds">H2MaxWorkerIdleSeconds</a> <a name="h2maxworkeridleseconds" id="h2maxworkeridleseconds">Directive</a> <a title="Permanent link" href="#h2maxworkeridleseconds" class="permalink">¶</a></h2> |
@@ -1092,7 +1141,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_http2.html |
1092 | 1141 | } |
1093 | 1142 | })(window, document); |
1094 | 1143 | //--><!]]></script></div><div id="footer"> |
1095 | | -<p class="apache">Copyright 2023 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> |
| 1144 | +<p class="apache">Copyright 2025 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> |
1096 | 1145 | <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- |
1097 | 1146 | if (typeof(prettyPrint) !== 'undefined') { |
1098 | 1147 | prettyPrint(); |
|
0 commit comments