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
d6143250
Commit
d6143250
authored
13 years ago
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warning. Added missing spdylay_session_on_ping_received prototype in header
parent
8f53343d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
lib/spdylay_session.h
lib/spdylay_session.h
+6
-0
tests/spdylay_session_test.c
tests/spdylay_session_test.c
+0
-3
No files found.
lib/spdylay_session.h
View file @
d6143250
...
@@ -161,6 +161,12 @@ int spdylay_session_on_syn_reply_received(spdylay_session *session,
...
@@ -161,6 +161,12 @@ int spdylay_session_on_syn_reply_received(spdylay_session *session,
int
spdylay_session_on_rst_stream_received
(
spdylay_session
*
session
,
int
spdylay_session_on_rst_stream_received
(
spdylay_session
*
session
,
spdylay_frame
*
frame
);
spdylay_frame
*
frame
);
/*
* Called when PING is received. Received frame is |frame|.
*/
int
spdylay_session_on_ping_received
(
spdylay_session
*
session
,
spdylay_frame
*
frame
);
/*
/*
* Called when HEADERS is recieved. Received frame is |frame|.
* Called when HEADERS is recieved. Received frame is |frame|.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
tests/spdylay_session_test.c
View file @
d6143250
...
@@ -413,7 +413,6 @@ void test_spdylay_submit_response()
...
@@ -413,7 +413,6 @@ void test_spdylay_submit_response()
NULL
NULL
};
};
const
char
*
nv
[]
=
{
NULL
};
const
char
*
nv
[]
=
{
NULL
};
spdylay_stream
*
stream
;
int32_t
stream_id
=
2
;
int32_t
stream_id
=
2
;
spdylay_data_source
source
;
spdylay_data_source
source
;
spdylay_data_provider
data_prd
=
{
spdylay_data_provider
data_prd
=
{
...
@@ -442,7 +441,6 @@ void test_spdylay_session_reply_fail()
...
@@ -442,7 +441,6 @@ void test_spdylay_session_reply_fail()
NULL
NULL
};
};
const
char
*
nv
[]
=
{
NULL
};
const
char
*
nv
[]
=
{
NULL
};
spdylay_stream
*
stream
;
int32_t
stream_id
=
2
;
int32_t
stream_id
=
2
;
spdylay_data_source
source
;
spdylay_data_source
source
;
spdylay_data_provider
data_prd
=
{
spdylay_data_provider
data_prd
=
{
...
@@ -553,7 +551,6 @@ void test_spdylay_session_on_ping_received()
...
@@ -553,7 +551,6 @@ void test_spdylay_session_on_ping_received()
on_ping_recv_callback
on_ping_recv_callback
};
};
my_user_data
user_data
;
my_user_data
user_data
;
const
char
*
nv
[]
=
{
NULL
};
spdylay_frame
frame
;
spdylay_frame
frame
;
spdylay_outbound_item
*
top
;
spdylay_outbound_item
*
top
;
uint32_t
unique_id
;
uint32_t
unique_id
;
...
...
This diff is collapsed.
Click to expand it.
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