[tahoe-lafs-trac-stream] [tahoe-lafs] #951: uploads aren't cancelled by closing the web page

tahoe-lafs trac at tahoe-lafs.org
Fri Jan 27 00:15:42 UTC 2012


#951: uploads aren't cancelled by closing the web page
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  zooko
         Type:  defect   |     Status:  assigned
     Priority:  major    |  Milestone:  eventually
    Component:  code-    |    Version:  1.6.0
  frontend-web           |   Keywords:  usability upload large wui ophandle
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by warner):

 .. and d.cancel() appeared in Twisted-10.1, which just so happens to be
 the version we're already requiring (for FTP async close). So the trick
 will be in adding cancel functionality to the Uploader (probably a flag
 that gets checked after each segment, just like for the downloader), and
 use {{{finish_d = Deferred(cancel=self.setCancelFlag)}}}

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/951#comment:8>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list