Skip to content

Commit d7c021b

Browse files
committed
Properly reset the --fq-rate parameter on the server between tests.
Without this change, an --fq-rate setting would persist on the server, which could adversely slow down future --reverse tests. This bug was exposed by PR #1643, which allows --fq-rate to work on the server. One annoying side-effect of this bug was that GitHub Actions scripts were timing out and throwing errors. Pet file copyright date while here.
1 parent c362e1a commit d7c021b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/iperf_api.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* iperf, Copyright (c) 2014-2022, The Regents of the University of
2+
* iperf, Copyright (c) 2014-2024, The Regents of the University of
33
* California, through Lawrence Berkeley National Laboratory (subject
44
* to receipt of any required approvals from the U.S. Dept. of
55
* Energy). All rights reserved.
@@ -3252,6 +3252,7 @@ iperf_reset_test(struct iperf_test *test)
32523252
test->settings->socket_bufsize = 0;
32533253
test->settings->blksize = DEFAULT_TCP_BLKSIZE;
32543254
test->settings->rate = 0;
3255+
test->settings->fqrate = 0;
32553256
test->settings->burst = 0;
32563257
test->settings->mss = 0;
32573258
test->settings->tos = 0;

0 commit comments

Comments
 (0)