Description: Fix bidirectional TCP server exiting after the test iperf bidirectional test using parameter -r or -d doesn't work as expected, the server exits after the test, but it should continue listening for new connections. Author: Roberto Lumbreras Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=449796 Forwarded: http://sourceforge.net/tracker/?func=detail&aid=1983829&group_id=128336&atid=711371 --- iperf-2.0.5.orig/src/Client.cpp +++ iperf-2.0.5/src/Client.cpp @@ -212,10 +212,12 @@ void Client::Run( void ) { char* readAt = mBuf; #if HAVE_THREAD + /* if ( !isUDP( mSettings ) ) { RunTCP(); return; } + */ #endif // Indicates if the stream is readable