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
c731d1fe
Commit
c731d1fe
authored
Feb 27, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Deprecate --backend-http2-connections-per-worker option
parent
aa892e4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
src/shrpx.cc
src/shrpx.cc
+0
-9
src/shrpx_config.cc
src/shrpx_config.cc
+2
-2
src/shrpx_config.h
src/shrpx_config.h
+0
-1
No files found.
src/shrpx.cc
View file @
c731d1fe
...
...
@@ -1352,15 +1352,6 @@ Performance:
accepts. Setting 0 means unlimited.
Default: )"
<<
get_config
()
->
conn
.
upstream
.
worker_connections
<<
R"(
--backend-http2-connections-per-worker=<N>
Set maximum number of backend HTTP/2 physical
connections per worker. If pattern is used in -b
option, this limit is applied to each pattern group (in
other words, each pattern group can have maximum <N>
HTTP/2 connections). The default value is 0, which
means that the value is adjusted to the number of
backend addresses. If pattern is used, this adjustment
is done for each pattern group.
--backend-http1-connections-per-host=<N>
Set maximum number of backend concurrent HTTP/1
connections per origin host. This option is meaningful
...
...
src/shrpx_config.cc
View file @
c731d1fe
...
...
@@ -2077,8 +2077,8 @@ int parse_config(const char *opt, const char *optarg,
return
0
;
case
SHRPX_OPTID_BACKEND_HTTP2_CONNECTIONS_PER_WORKER
:
return
parse_uint
(
&
mod_config
()
->
http2
.
downstream
.
connections_per_worker
,
opt
,
optarg
)
;
LOG
(
WARN
)
<<
opt
<<
": deprecated."
;
return
0
;
case
SHRPX_OPTID_FETCH_OCSP_RESPONSE_FILE
:
mod_config
()
->
tls
.
ocsp
.
fetch_ocsp_response_file
=
optarg
;
...
...
src/shrpx_config.h
View file @
c731d1fe
...
...
@@ -485,7 +485,6 @@ struct Http2Config {
nghttp2_session_callbacks
*
callbacks
;
size_t
window_bits
;
size_t
connection_window_bits
;
size_t
connections_per_worker
;
}
downstream
;
struct
{
ev_tstamp
stream_read
;
...
...
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