Fix receiving double heartbeat messages
This commit is contained in:
@@ -188,7 +188,9 @@ abstract class Connection
|
|||||||
if ($response->isHeartBeat()) {
|
if ($response->isHeartBeat()) {
|
||||||
$this->command('NOP');
|
$this->command('NOP');
|
||||||
|
|
||||||
$response = $this->readResponse();
|
$this->checkIsOK();
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$response->isOk()) {
|
if (!$response->isOk()) {
|
||||||
|
Reference in New Issue
Block a user