mirror of
https://github.com/predis/predis.git
synced 2026-08-30 04:02:22 +00:00
Bugfix: close the connection on Connection::rawCommand when the parameter is set to TRUE.
This commit is contained in:
@@ -836,6 +836,7 @@ class Connection implements IConnection {
|
||||
throw new ClientException('An error has occurred while writing a raw command on the network stream');
|
||||
}
|
||||
if ($closesConnection) {
|
||||
$this->disconnect();
|
||||
return;
|
||||
}
|
||||
return $this->_reader->read($this);
|
||||
|
||||
Reference in New Issue
Block a user