This commit is contained in:
2020-10-09 17:36:25 +08:00
parent d62193bd49
commit c752afc08f
+1 -1
View File
@@ -247,7 +247,7 @@ class Socket
do { do {
try { try {
if (!$this->isSocketDead($this->stream)) { if (!$this->isSocketDead($this->stream)) {
$newData = @fread($this->stream, self::READ_MAX_LEN); $newData = $this->stream->recv(self::READ_MAX_LEN);
} else { } else {
$this->reconnect(); $this->reconnect();
return; return;