fiorix/txredisapi — pull request #30 by akgood (2012-09-05 20:56:07+00:00)
Title: Fixes for handling/reporting lost-connection errors

There was some logic in the main RedisProtocol class to ensure that any pending commands would get an errback (with a ConnectionError) if the protocol got disconnected before receiving and processing a responses from Redis. There was, however, a slight error that prevented it from working correctly.

SubscriberProtocol had several additional issues that further prevented the same logic from working correctly.

Along the way, I attempted to take some small steps toward normalizing the SubscriberFactory and SubscriberProtocol interactions with RedisProtocol and RedisFactory (and also applied the same changes to MonitorProtocol/MonitorFactory, for consistency).