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
718f7a5f
Commit
718f7a5f
authored
Nov 23, 2015
by
Kit Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h2load goes into infinite loop when timing script file starts with 0.0 in first line
parent
e95ad297
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/h2load.cc
src/h2load.cc
+6
-2
No files found.
src/h2load.cc
View file @
718f7a5f
...
...
@@ -742,10 +742,14 @@ int Client::connection_made() {
break
;
}
duration
=
config
.
timings
[
reqidx
];
if
(
reqidx
==
0
)
//if reqidx wraps around back to 0, we uses up all lines and should break
break
;
}
request_timeout_watcher
.
repeat
=
duration
;
ev_timer_again
(
worker
->
loop
,
&
request_timeout_watcher
);
if
(
duration
>=
1e-9
)
{
//double check since we may have break due to reqidx wraps around back to 0
request_timeout_watcher
.
repeat
=
duration
;
ev_timer_again
(
worker
->
loop
,
&
request_timeout_watcher
);
}
}
signal_write
();
...
...
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