From f62a49dbd154a90ba1079419a64bf1401afc46c0 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Mon, 23 Jan 2017 16:07:40 +0000 Subject: [PATCH] Raise TCP reads per packet error to 1000 and re-enable bailout --- tcp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 tcp.cc diff --git a/tcp.cc b/tcp.cc old mode 100644 new mode 100755 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; } } } -- 2.39.5