Close the underlying connection also on MalformedServerResponse exceptions.

This commit is contained in:
Daniele Alessandri
2010-04-10 10:15:05 +02:00
parent bac4be648f
commit 3a44f766c2
+1 -3
View File
@@ -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
/* ------------------------------------------------------------------------- */