Explorar o código

Update TcpConnection.php

walkor %!s(int64=5) %!d(string=hai) anos
pai
achega
2094b5de07
Modificáronse 1 ficheiros con 1 adicións e 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.