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
bd0c1eda
Commit
bd0c1eda
authored
Aug 24, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'weliu-master'
parents
8f47b68a
c7ef021b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
lib/nghttp2_hd.c
lib/nghttp2_hd.c
+1
-3
No files found.
lib/nghttp2_hd.c
View file @
bd0c1eda
...
...
@@ -768,14 +768,12 @@ static size_t entry_room(size_t namelen, size_t valuelen) {
return
NGHTTP2_HD_ENTRY_OVERHEAD
+
namelen
+
valuelen
;
}
static
int
emit_header
(
nghttp2_hd_nv
*
nv_out
,
nghttp2_hd_nv
*
nv
)
{
static
void
emit_header
(
nghttp2_hd_nv
*
nv_out
,
nghttp2_hd_nv
*
nv
)
{
DEBUGF
(
fprintf
(
stderr
,
"inflatehd: header emission: %s: %s
\n
"
,
nv
->
name
->
base
,
nv
->
value
->
base
));
/* ent->ref may be 0. This happens if the encoder emits literal
block larger than header table capacity with indexing. */
*
nv_out
=
*
nv
;
return
0
;
}
static
size_t
count_encoded_length
(
size_t
n
,
size_t
prefix
)
{
...
...
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