Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
18d42b41
Commit
18d42b41
authored
Jan 16, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update man pages
parent
cbd878bb
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
749 additions
and
762 deletions
+749
-762
doc/h2load.1
doc/h2load.1
+26
-30
doc/h2load.1.rst
doc/h2load.1.rst
+25
-29
doc/nghttp.1
doc/nghttp.1
+46
-52
doc/nghttp.1.rst
doc/nghttp.1.rst
+46
-51
doc/nghttpd.1
doc/nghttpd.1
+33
-35
doc/nghttpd.1.rst
doc/nghttpd.1.rst
+34
-34
doc/nghttpx.1
doc/nghttpx.1
+264
-265
doc/nghttpx.1.rst
doc/nghttpx.1.rst
+275
-266
No files found.
doc/h2load.1
View file @
18d42b41
.\" Man page generated from reStructuredText.
.
.TH "H2LOAD" "1" "January 1
1, 2015" "0.7.1
" "nghttp2"
.TH "H2LOAD" "1" "January 1
6, 2015" "0.7.2-DEV
" "nghttp2"
.SH NAME
h2load \- HTTP/2 benchmarking tool
.
...
...
@@ -39,13 +39,12 @@ benchmarking tool for HTTP/2 and SPDY server
.INDENT 0.0
.TP
.B <URI>
Specify URI to access. Multiple URIs can be
specified. URIs are used in this order for each
client. All URIs are used, then first URI is
used and then 2nd URI, and so on. The scheme,
host and port in the subsequent URIs, if present,
are ignored. Those in the first URI are used
solely.
Specify URI to access. Multiple URIs can be specified.
URIs are used in this order for each client. All URIs
are used, then first URI is used and then 2nd URI, and
so on. The scheme, host and port in the subsequent
URIs, if present, are ignored. Those in the first URI
are used solely.
.UNINDENT
.SH OPTIONS:
.INDENT 0.0
...
...
@@ -72,38 +71,36 @@ Default: \fB1\fP
.INDENT 0.0
.TP
.B \-i, \-\-input\-file=<FILE>
Path of a file with multiple URIs are seperated
by EOLs. This option will disable URIs getting
from command\-line. If \(aq\-\(aq is given as <FILE>,
URIs will be read from stdin. URIs are used in
this order for each client. All URIs are used,
then first URI is used and then 2nd URI, and so
on. The scheme, host and port in the subsequent
URIs, if present, are ignored. Those in the
first URI are used solely.
Path of a file with multiple URIs are seperated by EOLs.
This option will disable URIs getting from command\-line.
If \(aq\-\(aq is given as <FILE>, URIs will be read from stdin.
URIs are used in this order for each client. All URIs
are used, then first URI is used and then 2nd URI, and
so on. The scheme, host and port in the subsequent
URIs, if present, are ignored. Those in the first URI
are used solely.
.UNINDENT
.INDENT 0.0
.TP
.B \-m, \-\-max\-concurrent\-streams=(auto|<N>)
Max concurrent streams to issue per session. If
"auto" is given, the number of given URIs is
used.
Max concurrent streams to issue per session. If "auto"
is given, the number of given URIs is used.
.sp
Default: \fBauto\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-w, \-\-window\-bits=<N>
Sets
the stream level initial window size to
(2**<N>)\-1.
For SPDY, 2**<N> is used instead.
Sets
the stream level initial window size to (2**<N>)\-1.
For SPDY, 2**<N> is used instead.
.UNINDENT
.INDENT 0.0
.TP
.B \-W, \-\-connection\-window\-bits=<N>
Sets
the connection level initial window size
to
(2**<N>)\-1. For
SPDY, if <N> is strictly less
th
an 16, this option is ignored. Otherwise
2**<N> is used for
SPDY.
Sets
the connection level initial window size
to
(2**<N>)\-1. For
SPDY, if <N> is strictly less than 16,
th
is option is ignored. Otherwise 2**<N> is used for
SPDY.
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -113,10 +110,9 @@ Add/Override a header to the requests.
.INDENT 0.0
.TP
.B \-p, \-\-no\-tls\-proto=<PROTOID>
Specify ALPN identifier of the protocol to be
used when accessing http URI without SSL/TLS.
Available protocols: spdy/2, spdy/3, spdy/3.1 and
h2c\-14
Specify ALPN identifier of the protocol to be used when
accessing http URI without SSL/TLS.
Available protocols: spdy/2, spdy/3, spdy/3.1 and h2c\-14
.sp
Default: \fBh2c\-14\fP
.UNINDENT
...
...
doc/h2load.1.rst
View file @
18d42b41
...
...
@@ -14,13 +14,12 @@ benchmarking tool for HTTP/2 and SPDY server
.. describe:: <URI>
Specify URI to access. Multiple URIs can be
specified. URIs are used in this order for each
client. All URIs are used, then first URI is
used and then 2nd URI, and so on. The scheme,
host and port in the subsequent URIs, if present,
are ignored. Those in the first URI are used
solely.
Specify URI to access. Multiple URIs can be specified.
URIs are used in this order for each client. All URIs
are used, then first URI is used and then 2nd URI, and
so on. The scheme, host and port in the subsequent
URIs, if present, are ignored. Those in the first URI
are used solely.
OPTIONS:
--------
...
...
@@ -45,35 +44,33 @@ OPTIONS:
.. option:: -i, --input-file=<FILE>
Path of a file with multiple URIs are seperated
by EOLs. This option will disable URIs getting
from command-line. If '-' is given as <FILE>,
URIs will be read from stdin. URIs are used in
this order for each client. All URIs are used,
then first URI is used and then 2nd URI, and so
on. The scheme, host and port in the subsequent
URIs, if present, are ignored. Those in the
first URI are used solely.
Path of a file with multiple URIs are seperated by EOLs.
This option will disable URIs getting from command-line.
If '-' is given as <FILE>, URIs will be read from stdin.
URIs are used in this order for each client. All URIs
are used, then first URI is used and then 2nd URI, and
so on. The scheme, host and port in the subsequent
URIs, if present, are ignored. Those in the first URI
are used solely.
.. option:: -m, --max-concurrent-streams=(auto|<N>)
Max concurrent streams to issue per session. If
"auto" is given, the number of given URIs is
used.
Max concurrent streams to issue per session. If "auto"
is given, the number of given URIs is used.
Default: ``auto``
.. option:: -w, --window-bits=<N>
Sets
the stream level initial window size to
(2**<N>)-1. For SPDY, 2\*\
*<N> is used instead.
Sets
the stream level initial window size to (2\*\*<N>)-1.
For SPDY, 2*
*<N> is used instead.
.. option:: -W, --connection-window-bits=<N>
Sets
the connection level initial window size
to
(2**<N>)-1. For
SPDY, if <N> is strictly less
th
an 16, this option is ignored. Otherwise
2**<N> is used for
SPDY.
Sets
the connection level initial window size
to
(2**<N>)-1. For
SPDY, if <N> is strictly less than 16,
th
is option is ignored. Otherwise 2\*\*<N> is used for
SPDY.
.. option:: -H, --header=<HEADER>
...
...
@@ -81,10 +78,9 @@ OPTIONS:
.. option:: -p, --no-tls-proto=<PROTOID>
Specify ALPN identifier of the protocol to be
used when accessing http URI without SSL/TLS.
Available protocols: spdy/2, spdy/3, spdy/3.1 and
h2c-14
Specify ALPN identifier of the protocol to be used when
accessing http URI without SSL/TLS.
Available protocols: spdy/2, spdy/3, spdy/3.1 and h2c-14
Default: ``h2c-14``
...
...
doc/nghttp.1
View file @
18d42b41
.\" Man page generated from reStructuredText.
.
.TH "NGHTTP" "1" "January 1
1, 2015" "0.7.1
" "nghttp2"
.TH "NGHTTP" "1" "January 1
6, 2015" "0.7.2-DEV
" "nghttp2"
.SH NAME
nghttp \- HTTP/2 experimental client
.
...
...
@@ -45,10 +45,9 @@ Specify URI to access.
.INDENT 0.0
.TP
.B \-v, \-\-verbose
Print debug information such as reception and
transmission of frames and name/value pairs.
Specifying this option multiple times increases
verbosity.
Print debug information such as reception and
transmission of frames and name/value pairs. Specifying
this option multiple times increases verbosity.
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -58,39 +57,37 @@ Discard downloaded data.
.INDENT 0.0
.TP
.B \-O, \-\-remote\-name
Save
download data in the current directory.
The
filename is
dereived from URI. If URI ends with
\(aq
\fI/\fP\(aq, \(aqindex.html\(aq is used as a filename. Not
implemented
yet.
Save
download data in the current directory.
The
filename is
dereived from URI. If URI ends with \(aq\fI/\fP\(aq,
\(aq
index.html\(aq is used as a filename. Not implemented
yet.
.UNINDENT
.INDENT 0.0
.TP
.B \-t, \-\-timeout=<
N
>
Timeout each request after <
N
> seconds.
.B \-t, \-\-timeout=<
SEC
>
Timeout each request after <
SEC
> seconds.
.UNINDENT
.INDENT 0.0
.TP
.B \-w, \-\-window\-bits=<N>
Sets the stream level initial window size to
2**<N>\-1.
Sets the stream level initial window size to 2**<N>\-1.
.UNINDENT
.INDENT 0.0
.TP
.B \-W, \-\-connection\-window\-bits=<N>
Sets
the connection level initial window size
to
Sets
the connection level initial window size
to
2**<N>\-1.
.UNINDENT
.INDENT 0.0
.TP
.B \-a, \-\-get\-assets
Download assets such as stylesheets, images and
script files linked from the downloaded resource.
Only links whose origins are the same with the
linking resource will be downloaded. nghttp
prioritizes resources using HTTP/2 dependency
based priority. The priority order, from highest
to lowest, is html itself, css, javascript and
images.
Download assets such as stylesheets, images and script
files linked from the downloaded resource. Only links
whose origins are the same with the linking resource
will be downloaded. nghttp prioritizes resources using
HTTP/2 dependency based priority. The priority order,
from highest to lowest, is html itself, css, javascript
and images.
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -100,74 +97,70 @@ Print statistics.
.INDENT 0.0
.TP
.B \-H, \-\-header=<HEADER>
Add a header to the requests. Example:
\fI\%\-H\fP\(aq:method: PUT\(aq
Add a header to the requests. Example: \fI\%\-H\fP\(aq:method: PUT\(aq
.UNINDENT
.INDENT 0.0
.TP
.B \-\-cert=<CERT>
Use
the specified client certificate file. Th
e
file
must be in PEM format.
Use
the specified client certificate file. The fil
e
must be in PEM format.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-key=<KEY>
Use the client private key
file. The file must
be in
PEM format.
Use the client private key
file. The file must be in
PEM format.
.UNINDENT
.INDENT 0.0
.TP
.B \-d, \-\-data=<FILE>
Post FILE to
server. If \(aq\-\(aq is given, data will
be read
from stdin.
Post FILE to
server. If \(aq\-\(aq is given, data will be read
from stdin.
.UNINDENT
.INDENT 0.0
.TP
.B \-m, \-\-multiply=<N>
Request each URI <N> times. By default, same URI
is not requested twice. This option disables it
too.
Request each URI <N> times. By default, same URI is not
requested twice. This option disables it too.
.UNINDENT
.INDENT 0.0
.TP
.B \-u, \-\-upgrade
Perform HTTP Upgrade for HTTP/2. This option is
ignored if the request URI has https scheme. If
\fI\-d\fP is used, the HTTP upgrade request is performed
with OPTIONS method.
Perform HTTP Upgrade for HTTP/2. This option is ignored
if the request URI has https scheme. If \fI\-d\fP is used, the
HTTP upgrade request is performed with OPTIONS method.
.UNINDENT
.INDENT 0.0
.TP
.B \-p, \-\-weight=<WEIGHT>
Sets
priority group weight. The valid value
range is
[1, 256], inclusive.
Sets
priority group weight. The valid value range is
[1, 256], inclusive.
.sp
Default: \fB16\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-M, \-\-peer\-max\-concurrent\-streams=<N>
Use <N> as SETTINGS_MAX_CONCURRENT_STREAMS value
of remote endpoint as if it is received in
SETTINGS frame. The default is large enough as
it is seen as unlimited.
Use <N> as SETTINGS_MAX_CONCURRENT_STREAMS value of
remote endpoint as if it is received in SETTINGS frame.
The default is large enough as it is seen as unlimited.
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-header\-table\-size=<
N
>
.B \-c, \-\-header\-table\-size=<
SIZE
>
Specify decoder header table size.
.UNINDENT
.INDENT 0.0
.TP
.B \-b, \-\-padding=<N>
Add
at most <N> bytes to a frame payload as
padding.
Specify 0 to disable padding.
Add
at most <N> bytes to a frame payload as padding.
Specify 0 to disable padding.
.UNINDENT
.INDENT 0.0
.TP
.B \-r, \-\-har=<FILE>
Output
HTTP transactions <FILE> in HAR format.
If \(aq\-\(aq
is given, data is written to stdout.
Output
HTTP transactions <FILE> in HAR format. If \(aq\-\(aq
is given, data is written to stdout.
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -187,14 +180,12 @@ Don\(aqt send content\-length header field.
.INDENT 0.0
.TP
.B \-\-no\-dep
Don\(aqt send dependency based priority hint to
server.
Don\(aqt send dependency based priority hint to server.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-dep\-idle
Use idle streams as anchor nodes to express
priority.
Use idle streams as anchor nodes to express priority.
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -206,6 +197,9 @@ Display version information and exit.
.B \-h, \-\-help
Display this help and exit.
.UNINDENT
.sp
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).
.SH SEE ALSO
.sp
\fInghttpd(1)\fP, \fInghttpx(1)\fP, \fIh2load(1)\fP
...
...
doc/nghttp.1.rst
View file @
18d42b41
...
...
@@ -21,10 +21,9 @@ OPTIONS:
.. option:: -v, --verbose
Print debug information such as reception and
transmission of frames and name/value pairs.
Specifying this option multiple times increases
verbosity.
Print debug information such as reception and
transmission of frames and name/value pairs. Specifying
this option multiple times increases verbosity.
.. option:: -n, --null-out
...
...
@@ -32,35 +31,33 @@ OPTIONS:
.. option:: -O, --remote-name
Save
download data in the current directory.
The
filename is
dereived from URI. If URI ends with
'
*/*', 'index.html' is used as a filename. Not
implemented
yet.
Save
download data in the current directory.
The
filename is
dereived from URI. If URI ends with '*/*',
'
index.html' is used as a filename. Not implemented
yet.
.. option:: -t, --timeout=<
N
>
.. option:: -t, --timeout=<
SEC
>
Timeout each request after <
N
> seconds.
Timeout each request after <
SEC
> seconds.
.. option:: -w, --window-bits=<N>
Sets the stream level initial window size to
2\*\*<N>-1.
Sets the stream level initial window size to 2\*\*<N>-1.
.. option:: -W, --connection-window-bits=<N>
Sets
the connection level initial window size
to
Sets
the connection level initial window size
to
2\*\*<N>-1.
.. option:: -a, --get-assets
Download assets such as stylesheets, images and
script files linked from the downloaded resource.
Only links whose origins are the same with the
linking resource will be downloaded. nghttp
prioritizes resources using HTTP/2 dependency
based priority. The priority order, from highest
to lowest, is html itself, css, javascript and
images.
Download assets such as stylesheets, images and script
files linked from the downloaded resource. Only links
whose origins are the same with the linking resource
will be downloaded. nghttp prioritizes resources using
HTTP/2 dependency based priority. The priority order,
from highest to lowest, is html itself, css, javascript
and images.
.. option:: -s, --stat
...
...
@@ -68,64 +65,60 @@ OPTIONS:
.. option:: -H, --header=<HEADER>
Add a header to the requests. Example:
:option:`-H`\':method: PUT'
Add a header to the requests. Example: :option:`-H`\':method: PUT'
.. option:: --cert=<CERT>
Use
the specified client certificate file. Th
e
file
must be in PEM format.
Use
the specified client certificate file. The fil
e
must be in PEM format.
.. option:: --key=<KEY>
Use the client private key
file. The file must
be in
PEM format.
Use the client private key
file. The file must be in
PEM format.
.. option:: -d, --data=<FILE>
Post FILE to
server. If '-' is given, data will
be read
from stdin.
Post FILE to
server. If '-' is given, data will be read
from stdin.
.. option:: -m, --multiply=<N>
Request each URI <N> times. By default, same URI
is not requested twice. This option disables it
too.
Request each URI <N> times. By default, same URI is not
requested twice. This option disables it too.
.. option:: -u, --upgrade
Perform HTTP Upgrade for HTTP/2. This option is
ignored if the request URI has https scheme. If
:option:`-d` is used, the HTTP upgrade request is performed
with OPTIONS method.
Perform HTTP Upgrade for HTTP/2. This option is ignored
if the request URI has https scheme. If :option:`-d` is used, the
HTTP upgrade request is performed with OPTIONS method.
.. option:: -p, --weight=<WEIGHT>
Sets
priority group weight. The valid value
range is
[1, 256], inclusive.
Sets
priority group weight. The valid value range is
[1, 256], inclusive.
Default: ``16``
.. option:: -M, --peer-max-concurrent-streams=<N>
Use <N> as SETTINGS_MAX_CONCURRENT_STREAMS value
of remote endpoint as if it is received in
SETTINGS frame. The default is large enough as
it is seen as unlimited.
Use <N> as SETTINGS_MAX_CONCURRENT_STREAMS value of
remote endpoint as if it is received in SETTINGS frame.
The default is large enough as it is seen as unlimited.
.. option:: -c, --header-table-size=<
N
>
.. option:: -c, --header-table-size=<
SIZE
>
Specify decoder header table size.
.. option:: -b, --padding=<N>
Add
at most <N> bytes to a frame payload as
padding.
Specify 0 to disable padding.
Add
at most <N> bytes to a frame payload as padding.
Specify 0 to disable padding.
.. option:: -r, --har=<FILE>
Output
HTTP transactions <FILE> in HAR format.
If '-'
is given, data is written to stdout.
Output
HTTP transactions <FILE> in HAR format. If '-'
is given, data is written to stdout.
.. option:: --color
...
...
@@ -141,13 +134,11 @@ OPTIONS:
.. option:: --no-dep
Don't send dependency based priority hint to
server.
Don't send dependency based priority hint to server.
.. option:: --dep-idle
Use idle streams as anchor nodes to express
priority.
Use idle streams as anchor nodes to express priority.
.. option:: --version
...
...
@@ -157,6 +148,10 @@ OPTIONS:
Display this help and exit.
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).
SEE ALSO
--------
...
...
doc/nghttpd.1
View file @
18d42b41
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPD" "1" "January 1
1, 2015" "0.7.1
" "nghttp2"
.TH "NGHTTPD" "1" "January 1
6, 2015" "0.7.2-DEV
" "nghttp2"
.SH NAME
nghttpd \- HTTP/2 experimental server
.
...
...
@@ -44,45 +44,42 @@ Specify listening port number.
.INDENT 0.0
.TP
.B <PRIVATE_KEY>
Set path to server\(aqs
private key. Required
unless
\fI\%\-\-no\-tls\fP is specified.
Set path to server\(aqs
private key. Required unless
\fI\%\-\-no\-tls\fP is specified.
.UNINDENT
.INDENT 0.0
.TP
.B <CERT>
Set path to
server\(aqs certificate. Required
unless
\fI\%\-\-no\-tls\fP is specified.
Set path to
server\(aqs certificate. Required unless
\fI\%\-\-no\-tls\fP is specified.
.UNINDENT
.SH OPTIONS:
.INDENT 0.0
.TP
.B \-D, \-\-daemon
Run in a background. If \fI\-D\fP is used, the current
working directory is changed to \(aq\fI/\fP\(aq. Therefore
if this option is used, \fI\%\-d\fP option must be
specified.
Run in a background. If \fI\-D\fP is used, the current working
directory is changed to \(aq\fI/\fP\(aq. Therefore if this option
is used, \fI\%\-d\fP option must be specified.
.UNINDENT
.INDENT 0.0
.TP
.B \-V, \-\-verify\-client
The server sends a client certificate request.
If the client did not return a certificate, the
handshake is terminated. Currently, this option
just requests a client certificate and does not
verify it.
The server sends a client certificate request. If the
client did not return a certificate, the handshake is
terminated. Currently, this option just requests a
client certificate and does not verify it.
.UNINDENT
.INDENT 0.0
.TP
.B \-d, \-\-htdocs=<PATH>
Specify document root. If this option is not
specified, the document root is the current
working directory.
Specify document root. If this option is not specified,
the document root is the current working directory.
.UNINDENT
.INDENT 0.0
.TP
.B \-v, \-\-verbose
Print
debug information such as reception/
transmission
of frames and name/value pairs.
Print
debug information such as reception/ transmission
of frames and name/value pairs.
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -91,7 +88,7 @@ Disable SSL/TLS.
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-header\-table\-size=<
N
>
.B \-c, \-\-header\-table\-size=<
SIZE
>
Specify decoder header table size.
.UNINDENT
.INDENT 0.0
...
...
@@ -102,22 +99,21 @@ Force colored log output.
.INDENT 0.0
.TP
.B \-p, \-\-push=<PATH>=<PUSH_PATH,...>
Push resources <PUSH_PATH>s when <PATH> is
requested. This option can be used repeatedly to
specify multiple push configurations. <PATH> and
<PUSH_PATH>s are relative to document root. See
\fI\%\-\-htdocs\fP option. Example: \fI\-p\fP/=/foo.png
\fI\-p\fP/doc=/bar.css
Push resources <PUSH_PATH>s when <PATH> is requested.
This option can be used repeatedly to specify multiple
push configurations. <PATH> and <PUSH_PATH>s are
relative to document root. See \fI\%\-\-htdocs\fP option.
Example: \fI\-p\fP/=/foo.png \fI\-p\fP/doc=/bar.css
.UNINDENT
.INDENT 0.0
.TP
.B \-b, \-\-padding=<N>
Add
at most <N> bytes to a frame payload as
padding.
Specify 0 to disable padding.
Add
at most <N> bytes to a frame payload as padding.
Specify 0 to disable padding.
.UNINDENT
.INDENT 0.0
.TP
.B \-n, \-\-workers=<
CORE
>
.B \-n, \-\-workers=<
N
>
Set the number of worker threads.
.sp
Default: \fB1\fP
...
...
@@ -130,16 +126,15 @@ Make error response gzipped.
.INDENT 0.0
.TP
.B \-\-dh\-param\-file=<PATH>
Path to
file that contains DH parameters in PEM
format. Without this option, DHE cipher suites
a
re not a
vailable.
Path to
file that contains DH parameters in PEM format.
Without this option, DHE cipher suites are not
available.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-early\-response
Start sending response when request HEADERS is
received, rather than complete request is
received.
Start sending response when request HEADERS is received,
rather than complete request is received.
.UNINDENT
.INDENT 0.0
.TP
...
...
@@ -151,6 +146,9 @@ Display version information and exit.
.B \-h, \-\-help
Display this help and exit.
.UNINDENT
.sp
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).
.SH SEE ALSO
.sp
\fInghttp(1)\fP, \fInghttpx(1)\fP, \fIh2load(1)\fP
...
...
doc/nghttpd.1.rst
View file @
18d42b41
...
...
@@ -18,48 +18,46 @@ HTTP/2 experimental server
.. describe:: <PRIVATE_KEY>
Set path to server's private key. Required
unless :option:`--no-tls` is specified.
Set path to server's private key. Required unless
:option:`--no-tls` is specified.
.. describe:: <CERT>
Set path to
server's certificate. Required
unless
:option:`--no-tls` is specified.
Set path to
server's certificate. Required unless
:option:`--no-tls` is specified.
OPTIONS:
--------
.. option:: -D, --daemon
Run in a background. If :option:`-D` is used, the current
working directory is changed to '*/*'. Therefore
if this option is used, :option:`-d` option must be
specified.
Run in a background. If :option:`-D` is used, the current working
directory is changed to '*/*'. Therefore if this option
is used, :option:`-d` option must be specified.
.. option:: -V, --verify-client
The server sends a client certificate request.
If the client did not return a certificate, the
handshake is terminated. Currently, this option
just requests a client certificate and does not
verify it.
The server sends a client certificate request. If the
client did not return a certificate, the handshake is
terminated. Currently, this option just requests a
client certificate and does not verify it.
.. option:: -d, --htdocs=<PATH>
Specify document root. If this option is not
specified, the document root is the current
working directory.
Specify document root. If this option is not specified,
the document root is the current working directory.
.. option:: -v, --verbose
Print
debug information such as reception/
transmission
of frames and name/value pairs.
Print
debug information such as reception/ transmission
of frames and name/value pairs.
.. option:: --no-tls
Disable SSL/TLS.
.. option:: -c, --header-table-size=<
N
>
.. option:: -c, --header-table-size=<
SIZE
>
Specify decoder header table size.
...
...
@@ -69,19 +67,18 @@ OPTIONS:
.. option:: -p, --push=<PATH>=<PUSH_PATH,...>
Push resources <PUSH_PATH>s when <PATH> is
requested. This option can be used repeatedly to
specify multiple push configurations. <PATH> and
<PUSH_PATH>s are relative to document root. See
:option:`--htdocs` option. Example: :option:`\-p`/=/foo.png
:option:`-p`\/doc=/bar.css
Push resources <PUSH_PATH>s when <PATH> is requested.
This option can be used repeatedly to specify multiple
push configurations. <PATH> and <PUSH_PATH>s are
relative to document root. See :option:`--htdocs` option.
Example: :option:`-p`\/=/foo.png :option:`-p`\/doc=/bar.css
.. option:: -b, --padding=<N>
Add
at most <N> bytes to a frame payload as
padding.
Specify 0 to disable padding.
Add
at most <N> bytes to a frame payload as padding.
Specify 0 to disable padding.
.. option:: -n, --workers=<
CORE
>
.. option:: -n, --workers=<
N
>
Set the number of worker threads.
...
...
@@ -93,15 +90,14 @@ OPTIONS:
.. option:: --dh-param-file=<PATH>
Path to
file that contains DH parameters in PEM
format. Without this option, DHE cipher suites
a
re not a
vailable.
Path to
file that contains DH parameters in PEM format.
Without this option, DHE cipher suites are not
available.
.. option:: --early-response
Start sending response when request HEADERS is
received, rather than complete request is
received.
Start sending response when request HEADERS is received,
rather than complete request is received.
.. option:: --version
...
...
@@ -111,6 +107,10 @@ OPTIONS:
Display this help and exit.
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).
SEE ALSO
--------
...
...
doc/nghttpx.1
View file @
18d42b41
This diff is collapsed.
Click to expand it.
doc/nghttpx.1.rst
View file @
18d42b41
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment