colinmollenhour/credis — pull request #34 by kschroeder (2014-12-17 16:07:42+00:00)
Title: Fixed incorrect handling of timeout on subscribed channel

If a subscribed channel times out the client attempts to unsubscribe. However, in the change I made earlier the explicitly defined unsubscribe and pUnsubscribe commands did not return the status when it was called. The effect of my error was that when a read timeout occurs the status value is null, not equaling zero (line 698) and another read is attempted inappropriately. The unsubscribe commands should return the status so they can be handled properly internally.