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
373be22d
Commit
373be22d
authored
Feb 23, 2017
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Simpler
parent
b647a7c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
src/shrpx_config.cc
src/shrpx_config.cc
+4
-20
No files found.
src/shrpx_config.cc
View file @
373be22d
...
...
@@ -2426,16 +2426,8 @@ int parse_config(Config *config, int optid, const StringRef &opt,
config
->
logging
.
error
.
syslog
=
util
::
strieq_l
(
"yes"
,
optarg
);
return
0
;
case
SHRPX_OPTID_FASTOPEN
:
{
int
n
;
if
(
parse_uint
(
&
n
,
opt
,
optarg
)
!=
0
)
{
return
-
1
;
}
config
->
conn
.
listener
.
fastopen
=
n
;
return
0
;
}
case
SHRPX_OPTID_FASTOPEN
:
return
parse_uint
(
&
config
->
conn
.
listener
.
fastopen
,
opt
,
optarg
);
case
SHRPX_OPTID_BACKEND_KEEP_ALIVE_TIMEOUT
:
return
parse_duration
(
&
config
->
conn
.
downstream
->
timeout
.
idle_read
,
opt
,
optarg
);
...
...
@@ -2622,16 +2614,8 @@ int parse_config(Config *config, int optid, const StringRef &opt,
return
0
;
}
case
SHRPX_OPTID_BACKLOG
:
{
int
n
;
if
(
parse_uint
(
&
n
,
opt
,
optarg
)
!=
0
)
{
return
-
1
;
}
config
->
conn
.
listener
.
backlog
=
n
;
return
0
;
}
case
SHRPX_OPTID_BACKLOG
:
return
parse_uint
(
&
config
->
conn
.
listener
.
backlog
,
opt
,
optarg
);
case
SHRPX_OPTID_CIPHERS
:
config
->
tls
.
ciphers
=
make_string_ref
(
config
->
balloc
,
optarg
);
...
...
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