From: Chris Tallon Date: Mon, 23 Jan 2017 16:07:40 +0000 (+0000) Subject: Raise TCP reads per packet error to 1000 and re-enable bailout X-Git-Tag: 0-5-0~20 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=f62a49dbd154a90ba1079419a64bf1401afc46c0;p=vompclient.git Raise TCP reads per packet error to 1000 and re-enable bailout --- 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; } } }