]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
mutable/retrieve: handle the case where self._read_length is 0.
authorKevan Carstensen <kevan@isnotajoke.com>
Tue, 30 Aug 2011 21:01:41 +0000 (14:01 -0700)
committerKevan Carstensen <kevan@isnotajoke.com>
Tue, 30 Aug 2011 21:01:41 +0000 (14:01 -0700)
commit32e30c9023479e3cba180d880025375a51971f46
treea1899b6ec5284739603529a2736cff0db558b4f5
parent1dcfec7ff3dd9b903d1cd6d63790eb6542cdce77
mutable/retrieve: handle the case where self._read_length is 0.

Note that the downloader will still fetch a segment for a zero-length
read, which is wasteful. Fixing that isn't specifically required to fix
#1512, but it should probably be fixed before 1.9.
src/allmydata/mutable/retrieve.py
src/allmydata/test/test_mutable.py