Procházet zdrojové kódy

Update TcpConnection.php

walkor před 5 roky
rodič
revize
88e518903d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;