paramiko/paramiko — pull request #99 by tomerfiliba (2012-10-26 12:44:54+00:00)
Title: Make send() and recv() fail when channel is closed

``sendall()`` was checking if the channel has been closed, and failed accordingly, but ``send()`` and ``recv()`` did not. This meant that ``chan.send("foo")`` when the channel was already closed, just blocked forever.