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