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
d0968ea6
Commit
d0968ea6
authored
Jan 19, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tear down session if GOAWAY with stream ID != 0
parent
4ed4efc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib/nghttp2_session.c
lib/nghttp2_session.c
+4
-0
No files found.
lib/nghttp2_session.c
View file @
d0968ea6
...
...
@@ -2903,6 +2903,10 @@ int nghttp2_session_on_ping_received(nghttp2_session *session,
int
nghttp2_session_on_goaway_received
(
nghttp2_session
*
session
,
nghttp2_frame
*
frame
)
{
if
(
frame
->
hd
.
stream_id
!=
0
)
{
return
nghttp2_session_handle_invalid_connection
(
session
,
frame
,
NGHTTP2_PROTOCOL_ERROR
);
}
session
->
last_stream_id
=
frame
->
goaway
.
last_stream_id
;
session
->
goaway_flags
|=
NGHTTP2_GOAWAY_RECV
;
return
nghttp2_session_call_on_frame_received
(
session
,
frame
);
...
...
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