diff options
author | Tomer Filiba <tomerfiliba@gmail.com> | 2012-10-26 15:44:34 +0300 |
---|---|---|
committer | Tomer Filiba <tomerfiliba@gmail.com> | 2012-10-26 15:44:34 +0300 |
commit | 23f3099b6f7808934400b96b707e122ed2dd302c (patch) | |
tree | 264ed63c9603c09a209d1fa78188a1848acc587a /fabfile.py | |
parent | 786920a3208fa335f334689d65b7302e9d52a568 (diff) |
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.
Diffstat (limited to 'fabfile.py')
0 files changed, 0 insertions, 0 deletions