]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
downloader.Segmentation: unregisterProducer when asked to stopProducing, this
authorBrian Warner <warner@lothar.com>
Fri, 6 Aug 2010 07:07:05 +0000 (00:07 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 6 Aug 2010 07:07:05 +0000 (00:07 -0700)
commit4b7c94ece074ede23b4b4a7b485fa3d984b81fec
treefc039c3c8d77a3cd10e3a07b12fd125fc899cbec
parent7fae62faf2da01490ff51b54f84b5d97facd3baa
downloader.Segmentation: unregisterProducer when asked to stopProducing, this
seems to avoid the #1155 log message which reveals the URI (and filecap).

Also add an [ERROR] marker to the flog entry, since unregisterProducer also
makes interrupted downloads appear "200 OK"; this makes it more obvious that
the download did not complete.
src/allmydata/immutable/downloader/segmentation.py
src/allmydata/web/filenode.py
src/allmydata/webish.py