iperf
iperf copied to clipboard
Select Timeout when not in TEST_RUNNING State
-
Version of iperf3 (or development branch, such as
master
or3.1-STABLE
) to which this pull request applies: master -
Issues fixed (if any): #1735
-
Brief description of code changes (suitable for use as a commit message):
Timeout select()
when the process is not in TEST_RUNNING
state, using the --rcv-timeout
value as the timeout. In #1753 for example, the server hanged forever because it waited to the "IPERF_DONE" that never arrived. Per @RizziMau comment after testing the change, this PR is solves the problem.