Skip to content

Commit

Permalink
Merge pull request #1812 from hwti/reset-congestion-protocol
Browse files Browse the repository at this point in the history
Reset the congestion protocol on the server between tests
  • Loading branch information
bmah888 authored Jan 10, 2025
2 parents 85d454c + 1e80c4f commit 352ef1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/iperf_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -3262,6 +3262,9 @@ iperf_reset_test(struct iperf_test *test)

SLIST_INIT(&test->streams);

if (test->congestion)
free(test->congestion);
test->congestion = NULL;
if (test->remote_congestion_used)
free(test->remote_congestion_used);
test->remote_congestion_used = NULL;
Expand Down

0 comments on commit 352ef1b

Please sign in to comment.