diff options
author | Tomer Filiba <tomerfiliba@gmail.com> | 2012-10-26 15:44:34 +0300 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2012-11-29 14:55:31 -0800 |
commit | 8496eff0b7afc07675e1f42815f83633d87097ee (patch) | |
tree | 3601d126fd0f208f928e480c7fc4a56012803ed0 /tests/test_buffered_pipe.py | |
parent | 5ed0e11a7f6a85c8190f3167e64f279741dd8359 (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 'tests/test_buffered_pipe.py')
0 files changed, 0 insertions, 0 deletions