summaryrefslogtreecommitdiff
blob: 98206ae2c31b86b94fc8cfb141235e4e0be0b520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 <rover@debian.org>
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=449796
Forwarded: https://sourceforge.net/tracker/?func=detail&aid=1983829&group_id=128336&atid=711371

--- a/src/Client.cpp
+++ b/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