Skip to content

Commit 88e5189

Browse files
authored
Update TcpConnection.php
1 parent 64cd1d2 commit 88e5189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Connection/TcpConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ public function baseRead($socket, $check_eof = true)
621621
// Get current package length.
622622
try {
623623
$this->_currentPackageLength = $parser::input($this->_recvBuffer, $this);
624-
} catch (\Exception $e){}
624+
} catch (\Exception $e) {} catch (\Error $e) {}
625625
// The packet length is unknown.
626626
if ($this->_currentPackageLength === 0) {
627627
break;

0 commit comments

Comments
 (0)