projects
/
vompclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477a606
)
Raise TCP reads per packet error to 1000 and re-enable bailout
author
Chris Tallon
<chris@vomp.tv>
Mon, 23 Jan 2017 16:07:40 +0000
(16:07 +0000)
committer
Chris Tallon
<chris@vomp.tv>
Mon, 23 Jan 2017 16:07:40 +0000
(16:07 +0000)
tcp.cc
[changed mode: 0644->0755]
patch
|
blob
|
history
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 == 100
0
)
{
Log::getInstance()->log("TCP", Log::ERR, "Too many reads");
-
//
return 0;
+ return 0;
}
}
}