Bug 8902 - Need a transport that downloads files by GET
: Need a transport that downloads files by GET
Status: RESOLVED FIXINSOURCE
Product: pkg
transport
: unspecified
: ANY/Generic All
: P3 enhancement (vote)
: 2010.02
Assigned To: johansen
: pkg/transport watcher
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-05-13 13:55 UTC by johansen
Modified: 2009-07-01 16:40 UTC (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description johansen 2009-05-13 13:55:10 UTC
The current transport mechanism uses a POST request to perform file downloads. 
The problem with this approach is that the POST request is opaque and cannot be
cached.  We need to switch to downloading pkg content using a HTTP method that
is cacheable.  Piplined GETs show the most promise right now.  I have a
prototype that uses libcurl/pycurl to accomplish the downloads.  At the moment
its performance is on-par with the performance of the existing transport.
Comment 1 Dan Price 2009-05-13 15:23:09 UTC
Marking RFE and setting target milestone.
Comment 2 johansen 2009-06-23 13:31:58 UTC
This bug is being fixed as part of the transport re-design.  A preliminary
webrev is available from:

http://cr.opensolaris.org/~johansen/webrev-xport-1/
Comment 3 johansen 2009-07-01 14:07:14 UTC
Bug 8903 depends upon some of the functionality delivered by 8902, clearing
depends on entry, instead of introducing a circular dependency.
Comment 4 johansen 2009-07-01 16:40:03 UTC
Integrated 1Jul2009 as change set a48bee2a4b2e9c8345c29acea63116acf77dddb3