]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
webish: improve reporting of web download errors that occur early enough
authorBrian Warner <warner@allmydata.com>
Tue, 3 Jul 2007 20:47:37 +0000 (13:47 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 3 Jul 2007 20:47:37 +0000 (13:47 -0700)
commit622acc690ac20ede473250600cb79d2df61cfbda
tree18b3c6981cc6b8b163da04deb76c002fb5066e0a
parentf15bb302a1e7dc6fda40ef02d63efc1ed0516452
webish: improve reporting of web download errors that occur early enough

If the error occurs before any data has been sent, we can give a sensible
error message (code 500, stack trace, etc). This will cover most of the error
cases. The ones that aren't covered are when we run out of good peers after
successfully decoding the first segment, either because they go away or
because their shares are corrupt.
src/allmydata/download.py
src/allmydata/interfaces.py
src/allmydata/test/test_system.py
src/allmydata/webish.py