Jelajahi Sumber

Update TcpConnection.php

walkor 5 tahun lalu
induk
melakukan
2094b5de07
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Connection/TcpConnection.php

+ 1 - 1
Connection/TcpConnection.php

@@ -593,7 +593,7 @@ class TcpConnection extends ConnectionInterface
 
         $buffer = '';
         try {
-            $buffer = \fread($socket, self::READ_BUFFER_SIZE);
+            $buffer = @\fread($socket, self::READ_BUFFER_SIZE);
         } catch (\Exception $e) {} catch (\Error $e) {}
 
         // Check connection closed.