Quellcode durchsuchen

Update TcpConnection.php

walkor vor 5 Jahren
Ursprung
Commit
88e518903d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Connection/TcpConnection.php

+ 1 - 1
Connection/TcpConnection.php

@@ -621,7 +621,7 @@ class TcpConnection extends ConnectionInterface
                     // Get current package length.
                     try {
                         $this->_currentPackageLength = $parser::input($this->_recvBuffer, $this);
-                    } catch (\Exception $e){}
+                    } catch (\Exception $e) {} catch (\Error $e) {}
                     // The packet length is unknown.
                     if ($this->_currentPackageLength === 0) {
                         break;