Bug 221308 - Multi-threading support for site.xml update sites
Summary: Multi-threading support for site.xml update sites
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4 M6   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-03-04 08:16 EST by Timothy Webb CLA
Modified: 2008-03-07 10:05 EST (History)
1 user (show)

See Also:


Attachments
Proposed solution (3.40 KB, patch)
2008-03-04 08:17 EST, Timothy Webb CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Webb CLA 2008-03-04 08:16:34 EST
Due to the legacy update site support using a local file-URL for it's internal SimpleArtifactRepository, downloads from update sites are not threaded.  As the download URLs that are actually used will be remote if the actual site.xml's URL is not local, we should still allow threading.

Attached is a patch that enables threading by allowing a property flag into the SimpleArtifactRepository to force threading mode even if "local" and an update to the Update Site's artifact repository to enable that option on the internally used artifact repository.
Comment 1 Timothy Webb CLA 2008-03-04 08:17:24 EST
Created attachment 91508 [details]
Proposed solution
Comment 2 DJ Houghton CLA 2008-03-07 10:05:24 EST
Released to HEAD.
Thanks, Tim.