Browse Source

Update TcpConnection.php

walkor 5 years ago
parent
commit
2094b5de07
1 changed files with 1 additions and 1 deletions
  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.