Skip to content

Commit

Permalink
Merge pull request #569 from h2o/kazuho/cli_-i_fix
Browse files Browse the repository at this point in the history
[cli] make sure that -i option runs requests forever
  • Loading branch information
kazuho authored Mar 5, 2024
2 parents db5d54a + 9966897 commit 1f2f4c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ static void client_on_receive(quicly_stream_t *stream, size_t off, const void *s
if (reqs[num_resp_received].path == NULL) {
if (request_interval != 0) {
enqueue_requests_at = ctx.now->cb(ctx.now) + request_interval;
num_resp_received = 0;
} else {
dump_stats(stderr, stream->conn);
quicly_close(stream->conn, 0, "");
Expand Down

0 comments on commit 1f2f4c1

Please sign in to comment.