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
d46e13ae
Commit
d46e13ae
authored
May 10, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Fix failmalloc tests
parent
0707720b
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
109 additions
and
128 deletions
+109
-128
tests/failmalloc_test.c
tests/failmalloc_test.c
+106
-125
tests/nghttp2_test_helper.c
tests/nghttp2_test_helper.c
+2
-2
tests/nghttp2_test_helper.h
tests/nghttp2_test_helper.h
+1
-1
No files found.
tests/failmalloc_test.c
View file @
d46e13ae
This diff is collapsed.
Click to expand it.
tests/nghttp2_test_helper.c
View file @
d46e13ae
...
...
@@ -220,10 +220,10 @@ ssize_t inflate_hd(nghttp2_hd_inflater *inflater, nva_out *out,
return
processed
;
}
void
frame_pack_bufs_init
(
nghttp2_bufs
*
bufs
)
int
frame_pack_bufs_init
(
nghttp2_bufs
*
bufs
)
{
/* 2 for PAD_HIGH and PAD_LOW */
nghttp2_bufs_init2
(
bufs
,
4096
,
16
,
NGHTTP2_FRAME_HDLEN
+
2
);
return
nghttp2_bufs_init2
(
bufs
,
4096
,
16
,
NGHTTP2_FRAME_HDLEN
+
2
);
}
void
bufs_large_init
(
nghttp2_bufs
*
bufs
,
size_t
chunk_size
)
...
...
tests/nghttp2_test_helper.h
View file @
d46e13ae
...
...
@@ -79,7 +79,7 @@ void add_out(nva_out *out, nghttp2_nv *nv);
ssize_t
inflate_hd
(
nghttp2_hd_inflater
*
inflater
,
nva_out
*
out
,
nghttp2_bufs
*
bufs
,
size_t
offset
);
void
frame_pack_bufs_init
(
nghttp2_bufs
*
bufs
);
int
frame_pack_bufs_init
(
nghttp2_bufs
*
bufs
);
void
bufs_large_init
(
nghttp2_bufs
*
bufs
,
size_t
chunk_size
);
...
...
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