This commit is contained in:
2020-10-10 10:56:42 +08:00
parent 8dbe1a4542
commit 3d62ec2c72
+1 -1
View File
@@ -273,7 +273,7 @@ class SocketSync
if ($len > self::READ_MAX_LEN) {
throw new Exception('Could not read ' . $len . ' bytes from stream, length too longer.');
}
$stream = Context::getContext(self::SOCKET_NAME);
$stream = $this->connect();
$null = null;
$remainingBytes = $len;