Raise TCP reads per packet error to 1000 and re-enable bailout
authorChris Tallon <chris@vomp.tv>
Mon, 23 Jan 2017 16:07:40 +0000 (16:07 +0000)
committerChris Tallon <chris@vomp.tv>
Mon, 23 Jan 2017 16:07:40 +0000 (16:07 +0000)
tcp.cc [changed mode: 0644->0755]

diff --git a/tcp.cc b/tcp.cc
old mode 100644 (file)
new mode 100755 (executable)
index 05b108c..ea1c80f
--- a/tcp.cc
+++ b/tcp.cc
@@ -320,10 +320,10 @@ int TCP::readData(UCHAR* buffer, int totalBytes)
     }
     else
     {
-      if (++readTries == 100)
+      if (++readTries == 1000)
       {
         Log::getInstance()->log("TCP", Log::ERR, "Too many reads");
-        // return 0;
+        return 0;
       }
     }
   }