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

tahoe-lafs trac at tahoe-lafs.org
Thu Jan 26 23:42:47 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):

 Hm, I don't know which case this is about:

 * if the browser drops the TCP connection before the HTTP body has made it
 to the gateway, that should clearly stop doing work as soon as the
 connectionLost is received. There should not be an error in the logs,
 although it'd be ok if we emitted a one-line warning (perhaps log.UNUSUAL,
 but not log.WEIRD)
 * if the browser successfully gets the HTTP body to the gateway, but then
 disconnects while the gateway-to-server upload is still running: hm, good
 question. I'm inclined to think we should process the upload to
 completion, even though there's no longer a channel to deliver the filecap
 to the user. This would let their next attempt short-circuit (shares are
 already present on the grid) and finish faster.

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


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