This commit is contained in:
kremsy 2014-03-13 19:06:51 +01:00 committed by Steffen Schröder
parent 7dd88a2e18
commit 9ff41e1580

View File

@ -215,7 +215,7 @@ class Client
while(strlen($contents) < 8){
$newContent = fread($this->socket, 8 - strlen($contents));
//var_dump($contents, $newContent, strlen($contents));
if(strlen($newContent) === false){
if(strlen($newContent) == 0){
var_dump("deb1 transport error" . $contents);
throw new FatalException('deb1 transport error - connection interrupted!' . $contents, FatalException::INTERRUPTED);
}