]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
offloaded.py: don't drop the Deferred
authorBrian Warner <warner@lothar.com>
Tue, 12 Jun 2012 01:16:02 +0000 (18:16 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 12 Jun 2012 01:16:02 +0000 (18:16 -0700)
commita809e4cababc385bf2807c973c7b66214326a7ae
treea22349ad270bf6b4f3a187e11e6581dbb189b5f4
parentb82cddef7b7f5eeed867001cd605431e1e18f9e9
offloaded.py: don't drop the Deferred

There was one corner case (where the client disconnects at just the
wrong time) that could have dropped a Deferred, leading to an Unhandled
Error. Clean up the control flow to avoid this case.
src/allmydata/immutable/offloaded.py