Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

increased maximum socket read size to prevent empty pages and repeate…

…d messages - merged from STABLE
  • Loading branch information...
commit 5e150ed18363c05e75afe51f5e3e736017fa4da7 1 parent 12f6082
skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/chat/chatd.php
View
2  mod/chat/chatd.php
@@ -967,7 +967,7 @@ function cli_switch($switch, $param = NULL) {
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.