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
3fd5d0af
Commit
3fd5d0af
authored
Mar 28, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't consider num_active_streams in nghttp2_session_want_write()
parent
1a6855ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
lib/nghttp2_session.c
lib/nghttp2_session.c
+0
-8
No files found.
lib/nghttp2_session.c
View file @
3fd5d0af
...
...
@@ -5881,16 +5881,12 @@ int nghttp2_session_want_read(nghttp2_session *session) {
}
int
nghttp2_session_want_write
(
nghttp2_session
*
session
)
{
size_t
num_active_streams
;
/* If these flag is set, we don't want to write any data. The
application should drop the connection. */
if
(
session
->
goaway_flags
&
NGHTTP2_GOAWAY_TERM_SENT
)
{
return
0
;
}
num_active_streams
=
session_get_num_active_streams
(
session
);
/*
* Unless termination GOAWAY is sent or received, we want to write
* frames if there is pending ones. If pending frame is request/push
...
...
@@ -5906,10 +5902,6 @@ int nghttp2_session_want_write(nghttp2_session *session) {
return
0
;
}
if
(
num_active_streams
>
0
)
{
return
1
;
}
/* If there is no active streams and GOAWAY has been sent or
received, we are done with this session. */
return
(
session
->
goaway_flags
&
...
...
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