Update man pages

This commit is contained in:
Tatsuhiro Tsujikawa 2015-10-25 17:05:48 +09:00
parent 6b0bde6c31
commit 86911bd67d
6 changed files with 74 additions and 31 deletions

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "H2LOAD" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2"
.TH "H2LOAD" "1" "October 25, 2015" "1.4.0" "nghttp2"
.SH NAME
h2load \- HTTP/2 benchmarking tool
.

View File

@ -1,8 +1,8 @@
.\" Man page generated from reStructuredText.
.
.TH "NGHTTP" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2"
.TH "NGHTTP" "1" "October 25, 2015" "1.4.0" "nghttp2"
.SH NAME
nghttp \- HTTP/2 experimental client
nghttp \- HTTP/2 client
.
.nr rst2man-indent-level 0
.
@ -157,7 +157,12 @@ The default is large enough as it is seen as unlimited.
.INDENT 0.0
.TP
.B \-c, \-\-header\-table\-size=<SIZE>
Specify decoder header table size.
Specify decoder header table size. If this option is
used multiple times, and the minimum value among the
given values except for last one is strictly less than
the last value, that minimum value is set in SETTINGS
frame payload before the last value, to simulate
multiple header table size change.
.UNINDENT
.INDENT 0.0
.TP

View File

@ -120,7 +120,12 @@ OPTIONS
.. option:: -c, --header-table-size=<SIZE>
Specify decoder header table size.
Specify decoder header table size. If this option is
used multiple times, and the minimum value among the
given values except for last one is strictly less than
the last value, that minimum value is set in SETTINGS
frame payload before the last value, to simulate
multiple header table size change.
.. option:: -b, --padding=<N>

View File

@ -1,8 +1,8 @@
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPD" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2"
.TH "NGHTTPD" "1" "October 25, 2015" "1.4.0" "nghttp2"
.SH NAME
nghttpd \- HTTP/2 experimental server
nghttpd \- HTTP/2 server
.
.nr rst2man-indent-level 0
.

View File

@ -1,8 +1,8 @@
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPX" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2"
.TH "NGHTTPX" "1" "October 25, 2015" "1.4.0" "nghttp2"
.SH NAME
nghttpx \- HTTP/2 experimental proxy
nghttpx \- HTTP/2 proxy
.
.nr rst2man-indent-level 0
.
@ -590,6 +590,32 @@ Specify address of memcached server to store session
cache. This enables shared session cache between
multiple nghttpx instances.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-tls\-dyn\-rec\-warmup\-threshold=<SIZE>
Specify the threshold size for TLS dynamic record size
behaviour. During a TLS session, after the threshold
number of bytes have been written, the TLS record size
will be increased to the maximum allowed (16K). The max
record size will continue to be used on the active TLS
session. After \fI\%\-\-tls\-dyn\-rec\-idle\-timeout\fP has elapsed,
the record size is reduced to 1300 bytes. Specify 0 to
always use the maximum record size, regardless of idle
period. This behaviour applies to all TLS based
frontends, and TLS HTTP/2 backends.
.sp
Default: \fB1M\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-tls\-dyn\-rec\-idle\-timeout=<DURATION>
Specify TLS dynamic record size behaviour timeout. See
\fI\%\-\-tls\-dyn\-rec\-warmup\-threshold\fP for more information.
This behaviour applies to all TLS based frontends, and
TLS HTTP/2 backends.
.sp
Default: \fB1s\fP
.UNINDENT
.SS HTTP/2 and SPDY
.INDENT 0.0
.TP
@ -926,17 +952,8 @@ be used to drop root privileges.
.SS Scripting
.INDENT 0.0
.TP
.B \-\-request\-phase\-file=<PATH>
Set mruby script file which will be executed when
request header fields are completely received from
frontend. This hook is called request phase hook.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-response\-phase\-file=<PATH>
Set mruby script file which will be executed when
response header fields are completely received from
backend. This hook is called response phase hook.
.B \-\-mruby\-file=<PATH>
Set mruby script file
.UNINDENT
.SS Misc
.INDENT 0.0
@ -1166,7 +1183,7 @@ server. These hooks allows users to modify header fields, or common
HTTP variables, like authority or request path, and even return custom
response without forwarding request to backend servers.
.sp
To specify mruby script file, use \fB\-\-mruby\-file\fP option. The
To specify mruby script file, use \fI\%\-\-mruby\-file\fP option. The
script will be evaluated once per thread on startup, and it must
instantiate object and evaluate it as the return value (e.g.,
\fBApp.new\fP). This object is called app object. If app object

View File

@ -527,6 +527,30 @@ SSL/TLS
cache. This enables shared session cache between
multiple nghttpx instances.
.. option:: --tls-dyn-rec-warmup-threshold=<SIZE>
Specify the threshold size for TLS dynamic record size
behaviour. During a TLS session, after the threshold
number of bytes have been written, the TLS record size
will be increased to the maximum allowed (16K). The max
record size will continue to be used on the active TLS
session. After :option:`--tls-dyn-rec-idle-timeout` has elapsed,
the record size is reduced to 1300 bytes. Specify 0 to
always use the maximum record size, regardless of idle
period. This behaviour applies to all TLS based
frontends, and TLS HTTP/2 backends.
Default: ``1M``
.. option:: --tls-dyn-rec-idle-timeout=<DURATION>
Specify TLS dynamic record size behaviour timeout. See
:option:`--tls-dyn-rec-warmup-threshold` for more information.
This behaviour applies to all TLS based frontends, and
TLS HTTP/2 backends.
Default: ``1s``
HTTP/2 and SPDY
~~~~~~~~~~~~~~~
@ -829,17 +853,9 @@ Process
Scripting
~~~~~~~~~
.. option:: --request-phase-file=<PATH>
.. option:: --mruby-file=<PATH>
Set mruby script file which will be executed when
request header fields are completely received from
frontend. This hook is called request phase hook.
.. option:: --response-phase-file=<PATH>
Set mruby script file which will be executed when
response header fields are completely received from
backend. This hook is called response phase hook.
Set mruby script file
Misc