summaryrefslogtreecommitdiffhomepage
path: root/tests/test_file.py
diff options
context:
space:
mode:
authorTomer Filiba <tomerfiliba@gmail.com>2012-10-26 15:44:34 +0300
committerJeff Forcier <jeff@bitprophet.org>2012-11-29 14:38:23 -0800
commitbc3674d0f0c61b5c7af9cfbc9248cf574d0998b0 (patch)
treeb9d65a69bbb0feee3b9b6378571c0fd46ec01b6e /tests/test_file.py
parent2832f3c60fdf078066a266cd32027a0b8ed65ce9 (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_file.py')
0 files changed, 0 insertions, 0 deletions