stupid fail fix
This commit is contained in:
parent
ba570cd3e2
commit
fbf1a584c0
@ -214,7 +214,7 @@ class Client
|
|||||||
$contents = "";
|
$contents = "";
|
||||||
while(strlen($contents) < 8){
|
while(strlen($contents) < 8){
|
||||||
$newContent = fread($this->socket, 8 - strlen($contents));
|
$newContent = fread($this->socket, 8 - strlen($contents));
|
||||||
var_dump($contents, $newContent, strlen($contents));
|
//var_dump($contents, $newContent, strlen($contents));
|
||||||
if(strlen($newContent) == 0){
|
if(strlen($newContent) == 0){
|
||||||
var_dump("deb1 transport error" . $contents);
|
var_dump("deb1 transport error" . $contents);
|
||||||
throw new FatalException('deb1 transport error - connection interrupted!' . $contents, FatalException::INTERRUPTED);
|
throw new FatalException('deb1 transport error - connection interrupted!' . $contents, FatalException::INTERRUPTED);
|
||||||
|
Loading…
Reference in New Issue
Block a user