This commit is contained in:
kremsy 2014-02-17 00:38:32 +01:00 committed by Steffen Schröder
parent 93a7a997f8
commit 0054d8931d

View File

@ -55,15 +55,16 @@ class AsynchronousFileReader {
unset($this->sockets[$key]);
$this->handleContent($socket);
continue 2;
}else{
$meta = stream_get_meta_data($socket->socket);
}
$meta = stream_get_meta_data($socket->socket);
} while($meta["unread_bytes"] > 0);
}
}
/**
* Handles the Content
*
* @param $socket
*/
private function handleContent(SocketStructure $socket) { //TODO timeout handling