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
90b06e85
Commit
90b06e85
authored
Jul 26, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Add HTTP/2.0 word in help message
parent
1fca42ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
21 deletions
+20
-21
src/shrpx.cc
src/shrpx.cc
+20
-21
No files found.
src/shrpx.cc
View file @
90b06e85
...
@@ -414,7 +414,7 @@ void print_usage(std::ostream& out)
...
@@ -414,7 +414,7 @@ void print_usage(std::ostream& out)
<<
" [-f <HOST,PORT>] [-n <CORES>] [-c <NUM>] [-L <LEVEL>]
\n
"
<<
" [-f <HOST,PORT>] [-n <CORES>] [-c <NUM>] [-L <LEVEL>]
\n
"
<<
" [OPTIONS...] [<PRIVATE_KEY> <CERT>]
\n
"
<<
" [OPTIONS...] [<PRIVATE_KEY> <CERT>]
\n
"
<<
"
\n
"
<<
"
\n
"
<<
"A reverse proxy for SPDY/HTTPS.
\n
"
<<
"A reverse proxy for
HTTP/2.0,
SPDY/HTTPS.
\n
"
<<
std
::
endl
;
<<
std
::
endl
;
}
}
}
// namespace
}
// namespace
...
@@ -457,16 +457,15 @@ void print_help(std::ostream& out)
...
@@ -457,16 +457,15 @@ void print_help(std::ostream& out)
<<
"
\n
"
<<
"
\n
"
<<
" Timeout:
\n
"
<<
" Timeout:
\n
"
<<
" --frontend-spdy-read-timeout=<SEC>
\n
"
<<
" --frontend-spdy-read-timeout=<SEC>
\n
"
<<
" Specify read timeout for SPDY frontend
\n
"
<<
" Specify read timeout for
HTTP/2.0 and
SPDY frontend
\n
"
<<
" connection. Default: "
<<
" connection. Default: "
<<
get_config
()
->
spdy_upstream_read_timeout
.
tv_sec
<<
"
\n
"
<<
get_config
()
->
spdy_upstream_read_timeout
.
tv_sec
<<
"
\n
"
<<
" --frontend-read-timeout=<SEC>
\n
"
<<
" --frontend-read-timeout=<SEC>
\n
"
<<
" Specify read timeout for
non-SPDY
frontend
\n
"
<<
" Specify read timeout for
HTTP/1.1
frontend
\n
"
<<
" connection. Default: "
<<
" connection. Default: "
<<
get_config
()
->
upstream_read_timeout
.
tv_sec
<<
"
\n
"
<<
get_config
()
->
upstream_read_timeout
.
tv_sec
<<
"
\n
"
<<
" --frontend-write-timeout=<SEC>
\n
"
<<
" --frontend-write-timeout=<SEC>
\n
"
<<
" Specify write timeout for both SPDY and
\n
"
<<
" Specify write timeout for all frontends.
\n
"
<<
" non-SPDY frontends.
\n
"
<<
" connection. Default: "
<<
" connection. Default: "
<<
get_config
()
->
upstream_write_timeout
.
tv_sec
<<
"
\n
"
<<
get_config
()
->
upstream_write_timeout
.
tv_sec
<<
"
\n
"
<<
" --backend-read-timeout=<SEC>
\n
"
<<
" --backend-read-timeout=<SEC>
\n
"
...
@@ -487,7 +486,7 @@ void print_help(std::ostream& out)
...
@@ -487,7 +486,7 @@ void print_help(std::ostream& out)
<<
" a proxy requires authentication, specify
\n
"
<<
" a proxy requires authentication, specify
\n
"
<<
" <USER> and <PASS>. Note that they must be
\n
"
<<
" <USER> and <PASS>. Note that they must be
\n
"
<<
" properly percent-encoded. This proxy is used
\n
"
<<
" properly percent-encoded. This proxy is used
\n
"
<<
" when the backend connection is
SPDY
. First,
\n
"
<<
" when the backend connection is
HTTP/2.0
. First,
\n
"
<<
" make a CONNECT request to the proxy and
\n
"
<<
" make a CONNECT request to the proxy and
\n
"
<<
" it connects to the backend on behalf of
\n
"
<<
" it connects to the backend on behalf of
\n
"
<<
" nghttpx. This forms tunnel. After that, nghttpx
\n
"
<<
" nghttpx. This forms tunnel. After that, nghttpx
\n
"
...
@@ -528,40 +527,40 @@ void print_help(std::ostream& out)
...
@@ -528,40 +527,40 @@ void print_help(std::ostream& out)
<<
" extension. This will default to the backend
\n
"
<<
" extension. This will default to the backend
\n
"
<<
" HOST name.
\n
"
<<
" HOST name.
\n
"
<<
"
\n
"
<<
"
\n
"
<<
" SPDY:
\n
"
<<
"
HTTP/2.0 and
SPDY:
\n
"
<<
" -c, --spdy-max-concurrent-streams=<NUM>
\n
"
<<
" -c, --spdy-max-concurrent-streams=<NUM>
\n
"
<<
" Set the maximum number of the concurrent
\n
"
<<
" Set the maximum number of the concurrent
\n
"
<<
" streams in one SPDY session.
\n
"
<<
" streams in one
HTTP/2.0 and
SPDY session.
\n
"
<<
" Default: "
<<
" Default: "
<<
get_config
()
->
spdy_max_concurrent_streams
<<
"
\n
"
<<
get_config
()
->
spdy_max_concurrent_streams
<<
"
\n
"
<<
" --frontend-spdy-window-bits=<N>
\n
"
<<
" --frontend-spdy-window-bits=<N>
\n
"
<<
" Sets the initial window size of SPDY
\n
"
<<
" Sets the initial window size of
HTTP/2.0 and
SPDY
\n
"
<<
" frontend connection to 2**<N>.
\n
"
<<
" frontend connection to 2**<N>.
\n
"
<<
" Default: "
<<
" Default: "
<<
get_config
()
->
spdy_upstream_window_bits
<<
"
\n
"
<<
get_config
()
->
spdy_upstream_window_bits
<<
"
\n
"
<<
" --frontend-spdy-no-tls
\n
"
<<
" --frontend-spdy-no-tls
\n
"
<<
" Disable SSL/TLS on frontend
SPDY
\n
"
<<
" Disable SSL/TLS on frontend
HTTP/2.0
\n
"
<<
" connections.This option also disables
\n
"
<<
" connections.This option also disables
\n
"
<<
" frontend HTTP/1.1.
\n
"
<<
" frontend
SPDY and
HTTP/1.1.
\n
"
<<
" --backend-spdy-window-bits=<N>
\n
"
<<
" --backend-spdy-window-bits=<N>
\n
"
<<
" Sets the initial window size of SPDY
\n
"
<<
" Sets the initial window size of
HTTP/2.0 and
SPDY
\n
"
<<
" backend connection to 2**<N>.
\n
"
<<
" backend connection to 2**<N>.
\n
"
<<
" Default: "
<<
" Default: "
<<
get_config
()
->
spdy_downstream_window_bits
<<
"
\n
"
<<
get_config
()
->
spdy_downstream_window_bits
<<
"
\n
"
<<
" --backend-spdy-no-tls
\n
"
<<
" --backend-spdy-no-tls
\n
"
<<
" Disable SSL/TLS on backend
SPDY
connections.
\n
"
<<
" Disable SSL/TLS on backend
HTTP/2.0
connections.
\n
"
<<
"
\n
"
<<
"
\n
"
<<
" Mode:
\n
"
<<
" Mode:
\n
"
<<
" -s, --spdy-proxy Enable secure SPDY proxy mode.
\n
"
<<
" -s, --spdy-proxy Enable secure
HTTP/2.0 and
SPDY proxy mode.
\n
"
<<
" --spdy-bridge Communicate with the backend in
SPDY
. Thus
\n
"
<<
" --spdy-bridge Communicate with the backend in
HTTP/2.0
. Thus
\n
"
<<
" the incoming
SPDY/HTTPS
connections are
\n
"
<<
" the incoming
all
connections are
\n
"
<<
" converted to
SPDY
connection and relayed to
\n
"
<<
" converted to
HTTP/2.0
connection and relayed to
\n
"
<<
" the backend. See --backend-http-proxy-uri
\n
"
<<
" the backend. See --backend-http-proxy-uri
\n
"
<<
" option if you are behind the proxy and want
\n
"
<<
" option if you are behind the proxy and want
\n
"
<<
" to connect to the outside
SPDY
proxy.
\n
"
<<
" to connect to the outside
HTTP/2.0
proxy.
\n
"
<<
" --client Instead of accepting SPDY/HTTPS connection,
\n
"
<<
" --client Instead of accepting
HTTP/2.0,
SPDY/HTTPS connection,
\n
"
<<
" accept
HTTP
connection and communicate with
\n
"
<<
" accept
plain HTTP/1.1
connection and communicate with
\n
"
<<
" backend server in
SPDY
. To use nghttpx as
\n
"
<<
" backend server in
HTTP/2.0
. To use nghttpx as
\n
"
<<
" a forward proxy, use -p option instead.
\n
"
<<
" a forward proxy, use -p option instead.
\n
"
<<
" -p, --client-proxy Like --client option, but it also requires
\n
"
<<
" -p, --client-proxy Like --client option, but it also requires
\n
"
<<
" the request path from frontend must be
\n
"
<<
" the request path from frontend must be
\n
"
...
...
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