nghttpx: Use <DURATION> instead of <T>
This commit is contained in:
parent
6b1ef95d3f
commit
e03f36eeeb
24
src/shrpx.cc
24
src/shrpx.cc
|
@ -917,42 +917,42 @@ Performance:
|
||||||
<< R"(
|
<< R"(
|
||||||
|
|
||||||
Timeout:
|
Timeout:
|
||||||
--frontend-http2-read-timeout=<T>
|
--frontend-http2-read-timeout=<DURATION>
|
||||||
Specify read timeout for HTTP/2 and SPDY frontend
|
Specify read timeout for HTTP/2 and SPDY frontend
|
||||||
connection.
|
connection.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->http2_upstream_read_timeout) << R"(
|
<< util::duration_str(get_config()->http2_upstream_read_timeout) << R"(
|
||||||
--frontend-read-timeout=<T>
|
--frontend-read-timeout=<DURATION>
|
||||||
Specify read timeout for HTTP/1.1 frontend connection.
|
Specify read timeout for HTTP/1.1 frontend connection.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->upstream_read_timeout) << R"(
|
<< util::duration_str(get_config()->upstream_read_timeout) << R"(
|
||||||
--frontend-write-timeout=<T>
|
--frontend-write-timeout=<DURATION>
|
||||||
Specify write timeout for all frontend connections.
|
Specify write timeout for all frontend connections.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->upstream_write_timeout) << R"(
|
<< util::duration_str(get_config()->upstream_write_timeout) << R"(
|
||||||
--stream-read-timeout=<T>
|
--stream-read-timeout=<DURATION>
|
||||||
Specify read timeout for HTTP/2 and SPDY streams. 0
|
Specify read timeout for HTTP/2 and SPDY streams. 0
|
||||||
means no timeout.
|
means no timeout.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->stream_read_timeout) << R"(
|
<< util::duration_str(get_config()->stream_read_timeout) << R"(
|
||||||
--stream-write-timeout=<T>
|
--stream-write-timeout=<DURATION>
|
||||||
Specify write timeout for HTTP/2 and SPDY streams. 0
|
Specify write timeout for HTTP/2 and SPDY streams. 0
|
||||||
means no timeout.
|
means no timeout.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->stream_write_timeout) << R"(
|
<< util::duration_str(get_config()->stream_write_timeout) << R"(
|
||||||
--backend-read-timeout=<T>
|
--backend-read-timeout=<DURATION>
|
||||||
Specify read timeout for backend connection.
|
Specify read timeout for backend connection.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->downstream_read_timeout) << R"(
|
<< util::duration_str(get_config()->downstream_read_timeout) << R"(
|
||||||
--backend-write-timeout=<T>
|
--backend-write-timeout=<DURATION>
|
||||||
Specify write timeout for backend connection.
|
Specify write timeout for backend connection.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->downstream_write_timeout) << R"(
|
<< util::duration_str(get_config()->downstream_write_timeout) << R"(
|
||||||
--backend-keep-alive-timeout=<T>
|
--backend-keep-alive-timeout=<DURATION>
|
||||||
Specify keep-alive timeout for backend connection.
|
Specify keep-alive timeout for backend connection.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::duration_str(get_config()->downstream_idle_read_timeout) << R"(
|
<< util::duration_str(get_config()->downstream_idle_read_timeout) << R"(
|
||||||
--listener-disable-timeout=<T>
|
--listener-disable-timeout=<DURATION>
|
||||||
After accepting connection failed, connection listener
|
After accepting connection failed, connection listener
|
||||||
is disabled for a given amount of time. Specifying 0
|
is disabled for a given amount of time. Specifying 0
|
||||||
disables this feature.
|
disables this feature.
|
||||||
|
@ -1221,9 +1221,9 @@ Misc:
|
||||||
The <SIZE> argument is an integer and an optional unit (e.g., 10K is
|
The <SIZE> argument is an integer and an optional unit (e.g., 10K is
|
||||||
10 * 1024). Units are K, M and G (powers of 1024).
|
10 * 1024). Units are K, M and G (powers of 1024).
|
||||||
|
|
||||||
The <T> argument is an integer and an optional unit (e.g., 1s is 1
|
The <DURATION> argument is an integer and an optional unit (e.g., 1s
|
||||||
second and 500ms is 500 milliseconds). Units are s or ms. If a
|
is 1 second and 500ms is 500 milliseconds). Units are s or ms. If
|
||||||
unit is omitted, a second is used as unit.)" << std::endl;
|
a unit is omitted, a second is used as unit.)" << std::endl;
|
||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue