Skip to content

Commit

Permalink
Fix --rcv-timeout manual text (#1642)
Browse files Browse the repository at this point in the history
* Fix --rcv-timeout manual text

Correct the default value in ms from `12000` to `120000`.

Source of truth: https://github.com/esnet/iperf/blob/master/src/iperf_api.h#L71

* Fix --rcv-timeout manual text
  • Loading branch information
notgba authored Feb 9, 2024
1 parent 2c3d631 commit e004dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/invoking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ the executable.
--rcv-timeout #
set idle timeout for receiving data during active tests. The
receiver will halt a test if no data is received from the sender
for this number of ms (default to 12000 ms, or 2 minutes).
for this number of ms (default to 120000 ms, or 2 minutes).
--snd-timeout #
set timeout for unacknowledged TCP data (on both test and con-
Expand Down
2 changes: 1 addition & 1 deletion src/iperf3.1
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ follow the \fB--timestamps\fR option with no whitespace intervening.
.BR --rcv-timeout " \fI#\fR"
set idle timeout for receiving data during active tests. The receiver
will halt a test if no data is received from the sender for this
number of ms (default to 12000 ms, or 2 minutes).
number of ms (default to 120000 ms, or 2 minutes).
.TP
.BR --snd-timeout " \fI#\fR"
set timeout for unacknowledged TCP data (on both test and control
Expand Down

0 comments on commit e004dc3

Please sign in to comment.