[netperf-dev] netperf2 commit notice r296 - in trunk: . src

raj at netperf.org raj at netperf.org
Wed Jan 28 11:05:43 PST 2009


Author: raj
Date: 2009-01-28 11:05:42 -0800 (Wed, 28 Jan 2009)
New Revision: 296

Modified:
   trunk/Release_Notes
   trunk/src/nettest_bsd.c
Log:
fix for tcp_rr hang from michael shuldman

Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes	2008-12-15 06:09:59 UTC (rev 295)
+++ trunk/Release_Notes	2009-01-28 19:05:42 UTC (rev 296)
@@ -2,6 +2,8 @@
 
 Things changed in this release:
 
+*) Fix for a TCP_RR hang from Michael Shuldman
+
 *) Compilation cleanups for MingW cnd MSDOS (djgpp) ourtesy of Gisle
    Vanem.
 

Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c	2008-12-15 06:09:59 UTC (rev 295)
+++ trunk/src/nettest_bsd.c	2009-01-28 19:05:42 UTC (rev 296)
@@ -5824,7 +5824,7 @@
 	if((rsp_bytes_recvd=recv(send_socket,
 				 temp_message_ptr,
 				 rsp_bytes_left,
-				 0)) == SOCKET_ERROR) {
+				 0)) == SOCKET_ERROR || rsp_bytes_recvd == 0) {
 		if ( SOCKET_EINTR(rsp_bytes_recvd) ) {
 		    /* We hit the end of a timed test. */
 			timed_out = 1;



More information about the netperf-dev mailing list