increased maximum socket read size to prevent empty pages and repeated messages - merged from STABLE

This commit is contained in:
skodak
2005-02-06 10:02:29 +00:00
parent 12f60822fc
commit 5e150ed183
+1 -1
View File
@@ -967,7 +967,7 @@ while(true) {
if($changed > 0) {
// Let's see what it has to say
$data = socket_read($handle, 512);
$data = socket_read($handle, 2048); // should be more than 512 to prevent empty pages and repeated messages!!
if(empty($data)) {
continue;
}