HTTP resume support

Bug #181190 reported by Wichert Akkerman
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Herb McNew

Bug Description

Plone is receiving complaints about the download service from launchpad. This is from an email I received today:

  I've tried downloading the 3.0.5 installer file (link on plone.org) twice and the connection was very slow, and finally
  timed out (twice, first the 24MB, then the 13MB one) it's been frustrating as the server is not supporting resume.

  Unfortunately I can't find a mirror either. Do you have a link to a mirror of the 13MB installer file (the Plone-3.0.5.tar.gz one),
  especially from a server that supports resume?

Resume support would indeed be extremely useful.

Revision history for this message
James Henstridge (jamesh) wrote :

the librarian is currently built on top of twisted.web. We should probably look at moving it to twisted.web2, which seems to support these sorts of things better.

Revision history for this message
Stuart Bishop (stub) wrote : Re: [Bug 181190] Re: HTTP resume support

James Henstridge wrote:
> the librarian is currently built on top of twisted.web. We should
> probably look at moving it to twisted.web2, which seems to support these
> sorts of things better.
>

We have Apache in front of the Librarian. Could Apache be configured to do
the resume support? If not, replacing it with Squid could do the trick and
have this issue sorted in the near future instead of post 2.0.

--
Stuart Bishop <email address hidden> http://www.canonical.com/
Canonical Ltd. http://www.ubuntu.com/

Revision history for this message
James Henstridge (jamesh) wrote :

That's probably worth looking at first: the snapshot of twisted we are using appears to be a bit old and does not have a fully functioning twisted.web2.

Christian Reis (kiko)
Changed in launchpad-foundations:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Christian Reis (kiko) wrote :

I worked with Herb today to ensure that Squid caches all files up to 128MB, and he's tested it and ensured it works. Wichert, I'm marking this fix released but if you still have issues please let me know and I'll work on this some more. Thanks,

Changed in launchpad-foundations:
assignee: nobody → herb
status: Triaged → Fix Released
assignee: herb → herbm
Revision history for this message
Sidnei da Silva (sidnei) wrote :

Resume seems to be working fine once the file has been cached by Squid. It acts weirdly when the file is *not* in Squid's cache yet.

Also, there's a setting you can enable on Squid that configures how far within the file Squid will continue to download from the backend server anyway. I believe that setting could be set to 0%, since you *always* want the file to end up in Squid, even if the user connection failed or if the user gave up downloading.

Revision history for this message
Sidnei da Silva (sidnei) wrote :

FWIW, quick_abort_pct is the setting.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.