Update man pages

This commit is contained in:
Tatsuhiro Tsujikawa 2015-03-14 18:52:50 +09:00
parent ad84af2b2b
commit ef581e94bb
7 changed files with 55 additions and 18 deletions

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "H2LOAD" "1" "February 27, 2015" "0.7.5" "nghttp2" .TH "H2LOAD" "1" "March 14, 2015" "0.7.7" "nghttp2"
.SH NAME .SH NAME
h2load \- HTTP/2 benchmarking tool h2load \- HTTP/2 benchmarking tool
. .

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "NGHTTP" "1" "February 27, 2015" "0.7.5" "nghttp2" .TH "NGHTTP" "1" "March 14, 2015" "0.7.7" "nghttp2"
.SH NAME .SH NAME
nghttp \- HTTP/2 experimental client nghttp \- HTTP/2 experimental client
. .
@ -101,6 +101,14 @@ Add a header to the requests. Example: \fI\%\-H\fP\(aq:method: PUT\(aq
.UNINDENT .UNINDENT
.INDENT 0.0 .INDENT 0.0
.TP .TP
.B \-\-trailer=<HEADER>
Add a trailer header to the requests. <HEADER> must not
include pseudo header field (header field name starting
with \(aq:\(aq). To send trailer, one must use \fI\-d\fP option to
send request body. Example: \fI\-\-trailer\fP \(aqfoo: bar\(aq.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-cert=<CERT> .B \-\-cert=<CERT>
Use the specified client certificate file. The file Use the specified client certificate file. The file
must be in PEM format. must be in PEM format.

View File

@ -67,6 +67,13 @@ OPTIONS
Add a header to the requests. Example: :option:`-H`\':method: PUT' Add a header to the requests. Example: :option:`-H`\':method: PUT'
.. option:: --trailer=<HEADER>
Add a trailer header to the requests. <HEADER> must not
include pseudo header field (header field name starting
with ':'). To send trailer, one must use :option:`-d` option to
send request body. Example: :option:`--trailer` 'foo: bar'.
.. option:: --cert=<CERT> .. option:: --cert=<CERT>
Use the specified client certificate file. The file Use the specified client certificate file. The file

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "NGHTTPD" "1" "February 27, 2015" "0.7.5" "nghttp2" .TH "NGHTTPD" "1" "March 14, 2015" "0.7.7" "nghttp2"
.SH NAME .SH NAME
nghttpd \- HTTP/2 experimental server nghttpd \- HTTP/2 experimental server
. .
@ -144,6 +144,14 @@ rather than complete request is received.
.UNINDENT .UNINDENT
.INDENT 0.0 .INDENT 0.0
.TP .TP
.B \-\-trailer=<HEADER>
Add a trailer header to a response. <HEADER> must not
include pseudo header field (header field name starting
with \(aq:\(aq). The trailer is sent only if a response has
body part. Example: \fI\%\-\-trailer\fP \(aqfoo: bar\(aq.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-version .B \-\-version
Display version information and exit. Display version information and exit.
.UNINDENT .UNINDENT

View File

@ -104,6 +104,13 @@ OPTIONS
Start sending response when request HEADERS is received, Start sending response when request HEADERS is received,
rather than complete request is received. rather than complete request is received.
.. option:: --trailer=<HEADER>
Add a trailer header to a response. <HEADER> must not
include pseudo header field (header field name starting
with ':'). The trailer is sent only if a response has
body part. Example: :option:`--trailer` 'foo: bar'.
.. option:: --version .. option:: --version
Display version information and exit. Display version information and exit.

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "NGHTTPX" "1" "February 27, 2015" "0.7.5" "nghttp2" .TH "NGHTTPX" "1" "March 14, 2015" "0.7.7" "nghttp2"
.SH NAME .SH NAME
nghttpx \- HTTP/2 experimental proxy nghttpx \- HTTP/2 experimental proxy
. .
@ -55,13 +55,10 @@ The options are categorized into several groups.
.INDENT 0.0 .INDENT 0.0
.TP .TP
.B \-b, \-\-backend=<HOST,PORT> .B \-b, \-\-backend=<HOST,PORT>
Set backend host and port. For HTTP/1 backend, multiple Set backend host and port. The multiple backend
backend addresses are accepted by repeating this option. addresses are accepted by repeating this option. UNIX
HTTP/2 backend does not support multiple backend domain socket can be specified by prefixing path name
addresses and the first occurrence of this option is with "unix:" (e.g., unix:/var/run/backend.sock)
used. UNIX domain socket can be specified by prefixing
path name with "unix:" (e.g.,
unix:/var/run/backend.sock)
.sp .sp
Default: \fB127.0.0.1,80\fP Default: \fB127.0.0.1,80\fP
.UNINDENT .UNINDENT
@ -196,6 +193,13 @@ Default: \fB0\fP
.UNINDENT .UNINDENT
.INDENT 0.0 .INDENT 0.0
.TP .TP
.B \-\-backend\-http2\-connections\-per\-worker=<N>
Set maximum number of HTTP/2 connections per worker.
The default value is 0, which means the number of
backend addresses specified by \fI\%\-b\fP option.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-backend\-http1\-connections\-per\-host=<N> .B \-\-backend\-http1\-connections\-per\-host=<N>
Set maximum number of backend concurrent HTTP/1 Set maximum number of backend concurrent HTTP/1
connections per host. This option is meaningful when \fI\%\-s\fP connections per host. This option is meaningful when \fI\%\-s\fP

View File

@ -34,13 +34,10 @@ Connections
.. option:: -b, --backend=<HOST,PORT> .. option:: -b, --backend=<HOST,PORT>
Set backend host and port. For HTTP/1 backend, multiple Set backend host and port. The multiple backend
backend addresses are accepted by repeating this option. addresses are accepted by repeating this option. UNIX
HTTP/2 backend does not support multiple backend domain socket can be specified by prefixing path name
addresses and the first occurrence of this option is with "unix:" (e.g., unix:/var/run/backend.sock)
used. UNIX domain socket can be specified by prefixing
path name with "unix:" (e.g.,
unix:/var/run/backend.sock)
Default: ``127.0.0.1,80`` Default: ``127.0.0.1,80``
@ -161,6 +158,12 @@ Performance
Default: ``0`` Default: ``0``
.. option:: --backend-http2-connections-per-worker=<N>
Set maximum number of HTTP/2 connections per worker.
The default value is 0, which means the number of
backend addresses specified by :option:`-b` option.
.. option:: --backend-http1-connections-per-host=<N> .. option:: --backend-http1-connections-per-host=<N>
Set maximum number of backend concurrent HTTP/1 Set maximum number of backend concurrent HTTP/1