mirror of
https://github.com/predis/predis.git
synced 2026-09-12 11:27:05 +00:00
Close the underlying connection also on MalformedServerResponse exceptions.
This commit is contained in:
+1
-3
@@ -17,9 +17,7 @@ class CommunicationException extends PredisException { // Communica
|
||||
public function shouldResetConnection() { return true; }
|
||||
}
|
||||
|
||||
class MalformedServerResponse extends CommunicationException { // Unexpected responses
|
||||
public function shouldResetConnection() { return false; }
|
||||
}
|
||||
class MalformedServerResponse extends CommunicationException { } // Unexpected responses
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user