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
dbb82b0f
Commit
dbb82b0f
authored
Mar 22, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make opaque_data parameter in nghttp2_submit_goaway const
parent
e1eebf08
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
lib/includes/nghttp2/nghttp2.h
lib/includes/nghttp2/nghttp2.h
+1
-1
lib/nghttp2_session.c
lib/nghttp2_session.c
+2
-1
lib/nghttp2_session.h
lib/nghttp2_session.h
+2
-1
lib/nghttp2_submit.c
lib/nghttp2_submit.c
+1
-1
No files found.
lib/includes/nghttp2/nghttp2.h
View file @
dbb82b0f
...
@@ -2230,7 +2230,7 @@ int nghttp2_submit_ping(nghttp2_session *session, uint8_t flags,
...
@@ -2230,7 +2230,7 @@ int nghttp2_submit_ping(nghttp2_session *session, uint8_t flags,
*/
*/
int
nghttp2_submit_goaway
(
nghttp2_session
*
session
,
uint8_t
flags
,
int
nghttp2_submit_goaway
(
nghttp2_session
*
session
,
uint8_t
flags
,
nghttp2_error_code
error_code
,
nghttp2_error_code
error_code
,
uint8_t
*
opaque_data
,
size_t
opaque_data_len
);
const
uint8_t
*
opaque_data
,
size_t
opaque_data_len
);
/**
/**
* @function
* @function
...
...
lib/nghttp2_session.c
View file @
dbb82b0f
...
@@ -4650,7 +4650,8 @@ int nghttp2_session_add_ping(nghttp2_session *session, uint8_t flags,
...
@@ -4650,7 +4650,8 @@ int nghttp2_session_add_ping(nghttp2_session *session, uint8_t flags,
int
nghttp2_session_add_goaway
(
nghttp2_session
*
session
,
int
nghttp2_session_add_goaway
(
nghttp2_session
*
session
,
int32_t
last_stream_id
,
int32_t
last_stream_id
,
nghttp2_error_code
error_code
,
nghttp2_error_code
error_code
,
uint8_t
*
opaque_data
,
size_t
opaque_data_len
)
const
uint8_t
*
opaque_data
,
size_t
opaque_data_len
)
{
{
int
rv
;
int
rv
;
nghttp2_frame
*
frame
;
nghttp2_frame
*
frame
;
...
...
lib/nghttp2_session.h
View file @
dbb82b0f
...
@@ -274,7 +274,8 @@ int nghttp2_session_add_ping(nghttp2_session *session, uint8_t flags,
...
@@ -274,7 +274,8 @@ int nghttp2_session_add_ping(nghttp2_session *session, uint8_t flags,
int
nghttp2_session_add_goaway
(
nghttp2_session
*
session
,
int
nghttp2_session_add_goaway
(
nghttp2_session
*
session
,
int32_t
last_stream_id
,
int32_t
last_stream_id
,
nghttp2_error_code
error_code
,
nghttp2_error_code
error_code
,
uint8_t
*
opaque_data
,
size_t
opaque_data_len
);
const
uint8_t
*
opaque_data
,
size_t
opaque_data_len
);
/*
/*
* Adds WINDOW_UPDATE frame with stream ID |stream_id| and
* Adds WINDOW_UPDATE frame with stream ID |stream_id| and
...
...
lib/nghttp2_submit.c
View file @
dbb82b0f
...
@@ -167,7 +167,7 @@ int nghttp2_submit_rst_stream(nghttp2_session *session, uint8_t flags,
...
@@ -167,7 +167,7 @@ int nghttp2_submit_rst_stream(nghttp2_session *session, uint8_t flags,
int
nghttp2_submit_goaway
(
nghttp2_session
*
session
,
uint8_t
flags
,
int
nghttp2_submit_goaway
(
nghttp2_session
*
session
,
uint8_t
flags
,
nghttp2_error_code
error_code
,
nghttp2_error_code
error_code
,
uint8_t
*
opaque_data
,
size_t
opaque_data_len
)
const
uint8_t
*
opaque_data
,
size_t
opaque_data_len
)
{
{
return
nghttp2_session_add_goaway
(
session
,
session
->
last_stream_id
,
return
nghttp2_session_add_goaway
(
session
,
session
->
last_stream_id
,
error_code
,
opaque_data
,
opaque_data_len
);
error_code
,
opaque_data
,
opaque_data_len
);
...
...
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