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
35ffeb5f
Commit
35ffeb5f
authored
Jul 12, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send additional debug info when terminating session
parent
25326b40
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
172 additions
and
94 deletions
+172
-94
lib/nghttp2_session.c
lib/nghttp2_session.c
+157
-94
lib/nghttp2_session.h
lib/nghttp2_session.h
+15
-0
No files found.
lib/nghttp2_session.c
View file @
35ffeb5f
This diff is collapsed.
Click to expand it.
lib/nghttp2_session.h
View file @
35ffeb5f
...
...
@@ -726,4 +726,19 @@ int nghttp2_session_reprioritize_stream
(
nghttp2_session
*
session
,
nghttp2_stream
*
stream
,
const
nghttp2_priority_spec
*
pri_spec
);
/*
* Terminates current |session| with the |error_code|. The |reason|
* is NULL-terminated debug string.
*
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
*
* NGHTTP2_ERR_NOMEM
* Out of memory.
* NGHTTP2_ERR_INVALID_ARGUMENT
* The |reason| is too long.
*/
int
nghttp2_session_terminate_session_with_reason
(
nghttp2_session
*
session
,
nghttp2_error_code
error_code
,
const
char
*
reason
);
#endif
/* NGHTTP2_SESSION_H */
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