From 9fb71cbf42b43f826220e98c0ae6e301dd1cbfac Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 22 Nov 2016 18:43:04 +0000 Subject: - Update to 2.0.9 - While I'm here, update WWW Changes: https://sourceforge.net/projects/iperf2/files/readme.txt/view PR: 213241 Submitted by: arved --- benchmarks/iperf/files/patch-src_Client.cpp | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 benchmarks/iperf/files/patch-src_Client.cpp (limited to 'benchmarks/iperf/files/patch-src_Client.cpp') diff --git a/benchmarks/iperf/files/patch-src_Client.cpp b/benchmarks/iperf/files/patch-src_Client.cpp deleted file mode 100644 index 32044bb6f413..000000000000 --- a/benchmarks/iperf/files/patch-src_Client.cpp +++ /dev/null @@ -1,16 +0,0 @@ -# -# If the network card's buffer is full, send returns -1 and sets -# errno to ENOBUFS, which causes issues with the UDP bandwidth tests. -# Check if errno != ENOBUFS after write(2). -# ---- src/Client.cpp.orig 2010-04-01 20:23:17 UTC -+++ src/Client.cpp -@@ -157,7 +157,7 @@ void Client::RunTCP( void ) { - - // perform write - currLen = write( mSettings->mSock, mBuf, mSettings->mBufLen ); -- if ( currLen < 0 ) { -+ if ( currLen < 0 && errno != ENOBUFS ) { - WARN_errno( currLen < 0, "write2" ); - break; - } -- cgit v1.2.3