diff --git a/src/cli.c b/src/cli.c index 373516dd..0d803e9c 100644 --- a/src/cli.c +++ b/src/cli.c @@ -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, "");