Change the number of allowed loops for event socket to 2000 to prevent registrations from being truncated.

This commit is contained in:
Mark Crane 2015-01-20 01:16:10 +00:00
parent 230be9198f
commit fde1aff5ba
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ function event_socket_request($fp, $cmd) {
usleep(20); //allow time for reponse
//prevent an endless loop //optional because of script timeout
if ($i > 1000) { break; }
if ($i > 2000) { break; }
if ($content_length > 0) { //is content_length set
//stop reading if all content has been read.