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
00c80a15
Commit
00c80a15
authored
Aug 23, 2016
by
Wenfeng Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: Make emit_header() return void since it always succeed.
parent
d9139fc2
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 @
00c80a15
...
...
@@ -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