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
af4c3cb2
Commit
af4c3cb2
authored
Nov 07, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix travis gcc build
parent
6958d0b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/nghttp2_session_test.c
tests/nghttp2_session_test.c
+4
-4
No files found.
tests/nghttp2_session_test.c
View file @
af4c3cb2
...
...
@@ -9250,8 +9250,8 @@ void test_nghttp2_http_push_promise(void) {
void
test_nghttp2_http_head_method_upgrade_workaround
(
void
)
{
nghttp2_session
*
session
;
nghttp2_session_callbacks
callbacks
;
const
nghttp2_nv
resnv
[]
=
{
MAKE_NV
(
":status"
,
"200"
),
MAKE_NV
(
"content-length"
,
"1000000007"
)};
const
nghttp2_nv
cl_
resnv
[]
=
{
MAKE_NV
(
":status"
,
"200"
),
MAKE_NV
(
"content-length"
,
"1000000007"
)};
nghttp2_bufs
bufs
;
nghttp2_hd_deflater
deflater
;
nghttp2_mem
*
mem
;
...
...
@@ -9270,8 +9270,8 @@ void test_nghttp2_http_head_method_upgrade_workaround(void) {
nghttp2_session_upgrade
(
session
,
NULL
,
0
,
NULL
);
rv
=
pack_headers
(
&
bufs
,
&
deflater
,
1
,
NGHTTP2_FLAG_END_HEADERS
,
resnv
,
ARRLEN
(
resnv
),
mem
);
rv
=
pack_headers
(
&
bufs
,
&
deflater
,
1
,
NGHTTP2_FLAG_END_HEADERS
,
cl_
resnv
,
ARRLEN
(
cl_
resnv
),
mem
);
CU_ASSERT
(
0
==
rv
);
...
...
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