]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
immutable: defensive programming: assert that the encrypted readable gave you no...
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 10 Feb 2009 06:46:05 +0000 (23:46 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 10 Feb 2009 06:46:05 +0000 (23:46 -0700)
commitc59940852b94ba458cd5e3565e2679dc6af5d21f
tree814ed5249fc49f4f89567fcb0833d89f5890bce9
parent1d13be3701f0b92abd54429d4a3e76733eddd988
immutable: defensive programming: assert that the encrypted readable gave you no more than the number of bytes you asked for
(There is a bug in the current DownUpConnector which can cause it to give more bytes than you asked for on one request, and then less on the next, effectively shifting some of the bytes to an earlier request, but I think this bug never gets triggered in practice.)
src/allmydata/immutable/encode.py