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
e684b814
Commit
e684b814
authored
Nov 06, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpd: Fix -c option
parent
bc03007d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/HttpServer.cc
src/HttpServer.cc
+2
-3
No files found.
src/HttpServer.cc
View file @
e684b814
...
...
@@ -55,7 +55,6 @@
namespace
nghttp2
{
namespace
{
Config
config
;
const
std
::
string
STATUS_200
=
"200"
;
const
std
::
string
STATUS_304
=
"304"
;
const
std
::
string
STATUS_400
=
"400"
;
...
...
@@ -372,9 +371,9 @@ int Http2Handler::on_connect()
entry
[
niv
].
value
=
1
;
++
niv
;
}
if
(
config
.
header_table_size
>=
0
)
{
if
(
sessions_
->
get_config
()
->
header_table_size
>=
0
)
{
entry
[
niv
].
settings_id
=
NGHTTP2_SETTINGS_HEADER_TABLE_SIZE
;
entry
[
niv
].
value
=
config
.
header_table_size
;
entry
[
niv
].
value
=
sessions_
->
get_config
()
->
header_table_size
;
++
niv
;
}
r
=
nghttp2_submit_settings
(
session_
,
NGHTTP2_FLAG_NONE
,
entry
,
niv
);
...
...
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