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
3e72711e
Commit
3e72711e
authored
Feb 23, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cap 100 limit for remembering idle streams
parent
f4bb8776
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
lib/nghttp2_session.c
lib/nghttp2_session.c
+6
-5
No files found.
lib/nghttp2_session.c
View file @
3e72711e
...
@@ -1216,11 +1216,12 @@ int nghttp2_session_adjust_idle_stream(nghttp2_session *session) {
...
@@ -1216,11 +1216,12 @@ int nghttp2_session_adjust_idle_stream(nghttp2_session *session) {
size_t
max
;
size_t
max
;
int
rv
;
int
rv
;
/* Make minimum number of idle streams 16, which is arbitrary chosen
/* Make minimum number of idle streams 16, and maximum 100, which
number. */
are arbitrary chosen numbers. */
max
=
nghttp2_max
(
16
,
max
=
nghttp2_min
(
nghttp2_min
(
session
->
local_settings
.
max_concurrent_streams
,
100
,
nghttp2_max
(
session
->
pending_local_max_concurrent_stream
));
16
,
nghttp2_min
(
session
->
local_settings
.
max_concurrent_streams
,
session
->
pending_local_max_concurrent_stream
)));
DEBUGF
(
fprintf
(
stderr
,
"stream: adjusting kept idle streams "
DEBUGF
(
fprintf
(
stderr
,
"stream: adjusting kept idle streams "
"num_idle_streams=%zu, max=%zu
\n
"
,
"num_idle_streams=%zu, max=%zu
\n
"
,
...
...
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