mirror of
https://github.com/h2o/h2o.git
synced 2025-06-03 03:26:11 +08:00
regen doc
This commit is contained in:
parent
718e7bdbdd
commit
b62082eedf
@ -88,6 +88,9 @@ This document describes the configuration directives common to all the protocols
|
||||
<li><a href="configure/base_directives.html#handshake-timeout">
|
||||
<code>handshake-timeout</code>
|
||||
</a></li>
|
||||
<li><a href="configure/base_directives.html#io_uring-batch-size">
|
||||
<code>io_uring-batch-size</code>
|
||||
</a></li>
|
||||
<li><a href="configure/base_directives.html#limit-request-body">
|
||||
<code>limit-request-body</code>
|
||||
</a></li>
|
||||
@ -711,6 +714,29 @@ Times spent for receiving <a href="configure/base_directives.html#listen-proxy-p
|
||||
<dd><code><pre>handshake-timeout: 10</pre></code>
|
||||
</dl>
|
||||
|
||||
<div id="io_uring-batch-size" class="directive-head">
|
||||
<div class="directive-since">experimental</div>
|
||||
<h3><a href="configure/base_directives.html#io_uring-batch-size"><code>"io_uring-batch-size"</code></a></h3>
|
||||
</div>
|
||||
|
||||
<dl class="directive-desc">
|
||||
<dt>Description:</dt>
|
||||
<dd>
|
||||
<p>
|
||||
Number of io_uring calls to issue at once. Increasing this number might reduce overhead.
|
||||
</p>
|
||||
|
||||
</dd>
|
||||
<dt><a href="configure/syntax_and_structure.html#config_levels">Level</a>:</dt>
|
||||
<dd>global</dd>
|
||||
<dt>Default:</dt>
|
||||
<dd><code><pre>io_uring-batch-size: 1</pre></code>
|
||||
<dt>See also:</dt>
|
||||
<dd><a href="configure/file_directives.html#file.io_uring"><code>file.io_uring</code></a>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<div id="limit-request-body" class="directive-head">
|
||||
<h3><a href="configure/base_directives.html#limit-request-body"><code>"limit-request-body"</code></a></h3>
|
||||
</div>
|
||||
|
@ -86,6 +86,9 @@ Other directives modify the behavior of the mappings defined by the two.
|
||||
<li><a href="configure/file_directives.html#file.index">
|
||||
<code>file.index</code>
|
||||
</a></li>
|
||||
<li><a href="configure/file_directives.html#file.io_uring">
|
||||
<code>file.io_uring</code>
|
||||
</a></li>
|
||||
<li><a href="configure/file_directives.html#file.mime.addtypes">
|
||||
<code>file.mime.addtypes</code>
|
||||
</a></li>
|
||||
@ -267,6 +270,33 @@ The sequence of filenames are searched from left to right, and the first file th
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<div id="file.io_uring" class="directive-head">
|
||||
<h3><a href="configure/file_directives.html#file.io_uring"><code>"file.io_uring"</code></a></h3>
|
||||
</div>
|
||||
|
||||
<dl class="directive-desc">
|
||||
<dt>Description:</dt>
|
||||
<dd>
|
||||
<p>
|
||||
If io_uring should be used for serving files.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
io_uring is a Linux feature that allows applications to read from disk without blocking.
|
||||
This option is enabled by default, so that HTTP connections can make progress while disk I/O is performed.
|
||||
When all files are known to be on memory, this option can be disabled to reduce the overhead of using io_uring.
|
||||
</p>
|
||||
|
||||
</dd>
|
||||
<dt><a href="configure/syntax_and_structure.html#config_levels">Level</a>:</dt>
|
||||
<dd>global, host, path</dd>
|
||||
<dt>Default:</dt>
|
||||
<dd><code><pre>file.io_uring: ON</pre></code>
|
||||
<dt>See also:</dt>
|
||||
<dd><a href="configure/base_directives.html#io_uring-batch-size"><code>io_uring-batch-size</code></a>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<div id="file.mime.addtypes" class="directive-head">
|
||||
<h3><a href="configure/file_directives.html#file.mime.addtypes"><code>"file.mime.addtypes"</code></a></h3>
|
||||
</div>
|
||||
|
@ -896,6 +896,19 @@ Times spent for receiving the PROXY protocol and TLS handshake are counted.
|
||||
.RE
|
||||
.RE
|
||||
|
||||
.SS io_uring-batch-size
|
||||
Number of io_uring calls to issue at once. Increasing this number might reduce overhead.
|
||||
|
||||
.PP
|
||||
|
||||
.PP
|
||||
.BR See\ also:
|
||||
file.io_uring
|
||||
|
||||
.RE
|
||||
.RE
|
||||
|
||||
|
||||
.SS limit-request-body
|
||||
Maximum size of request body in bytes (e.g. content of POST).
|
||||
|
||||
@ -2923,6 +2936,24 @@ file.dir
|
||||
.RE
|
||||
.RE
|
||||
|
||||
.SS file.io_uring
|
||||
If io_uring should be used for serving files.
|
||||
|
||||
.PP
|
||||
|
||||
|
||||
io_uring is a Linux feature that allows applications to read from disk without blocking.
|
||||
This option is enabled by default, so that HTTP connections can make progress while disk I/O is performed.
|
||||
When all files are known to be on memory, this option can be disabled to reduce the overhead of using io_uring.
|
||||
|
||||
|
||||
.PP
|
||||
.BR See\ also:
|
||||
io_uring-batch-size
|
||||
|
||||
.RE
|
||||
.RE
|
||||
|
||||
.SS file.mime.addtypes
|
||||
The directive modifies the MIME mappings by adding the specified MIME type mappings.
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user