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
b464cb78
Commit
b464cb78
authored
Mar 14, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests to reflect their intent
parent
344d663e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
tests/nghttp2_session_test.c
tests/nghttp2_session_test.c
+4
-5
No files found.
tests/nghttp2_session_test.c
View file @
b464cb78
...
@@ -4240,7 +4240,7 @@ void test_nghttp2_session_pack_headers_with_padding(void)
...
@@ -4240,7 +4240,7 @@ void test_nghttp2_session_pack_headers_with_padding(void)
accumulator
acc
;
accumulator
acc
;
my_user_data
ud
;
my_user_data
ud
;
nghttp2_session_callbacks
callbacks
;
nghttp2_session_callbacks
callbacks
;
nghttp2_nv
nva
[
8190
];
nghttp2_nv
nva
[
4086
];
size_t
i
;
size_t
i
;
for
(
i
=
0
;
i
<
ARRLEN
(
nva
);
++
i
)
{
for
(
i
=
0
;
i
<
ARRLEN
(
nva
);
++
i
)
{
...
@@ -4302,7 +4302,7 @@ void test_nghttp2_session_pack_headers_with_padding2(void)
...
@@ -4302,7 +4302,7 @@ void test_nghttp2_session_pack_headers_with_padding2(void)
accumulator
acc
;
accumulator
acc
;
my_user_data
ud
;
my_user_data
ud
;
nghttp2_session_callbacks
callbacks
;
nghttp2_session_callbacks
callbacks
;
nghttp2_nv
nva
[
163
82
];
nghttp2_nv
nva
[
81
82
];
size_t
i
;
size_t
i
;
for
(
i
=
0
;
i
<
ARRLEN
(
nva
);
++
i
)
{
for
(
i
=
0
;
i
<
ARRLEN
(
nva
);
++
i
)
{
...
@@ -4321,8 +4321,7 @@ void test_nghttp2_session_pack_headers_with_padding2(void)
...
@@ -4321,8 +4321,7 @@ void test_nghttp2_session_pack_headers_with_padding2(void)
acc
.
length
=
0
;
acc
.
length
=
0
;
ud
.
acc
=
&
acc
;
ud
.
acc
=
&
acc
;
/* In this test, padding is laid out across 2 frames: HEADERS and
/* In this test, padding is laid out across 2 CONTINUATION frames */
CONTINUATION frames */
nghttp2_session_client_new
(
&
session
,
&
callbacks
,
&
ud
);
nghttp2_session_client_new
(
&
session
,
&
callbacks
,
&
ud
);
nghttp2_session_server_new
(
&
sv_session
,
&
callbacks
,
&
ud
);
nghttp2_session_server_new
(
&
sv_session
,
&
callbacks
,
&
ud
);
...
@@ -4351,7 +4350,7 @@ void test_nghttp2_session_pack_headers_with_padding3(void)
...
@@ -4351,7 +4350,7 @@ void test_nghttp2_session_pack_headers_with_padding3(void)
accumulator
acc
;
accumulator
acc
;
my_user_data
ud
;
my_user_data
ud
;
nghttp2_session_callbacks
callbacks
;
nghttp2_session_callbacks
callbacks
;
nghttp2_nv
nva
[
8192
];
nghttp2_nv
nva
[
9120
];
size_t
i
;
size_t
i
;
for
(
i
=
0
;
i
<
ARRLEN
(
nva
);
++
i
)
{
for
(
i
=
0
;
i
<
ARRLEN
(
nva
);
++
i
)
{
...
...
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