Explorar el Código

Update TcpConnection.php

walkor hace 5 años
padre
commit
2094b5de07
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.