[wp-trac] [WordPress Trac] #16236: Method to stream file downloads in HTTP API, to reduce update memory footprint

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 13 04:28:46 UTC 2011


#16236: Method to stream file downloads in HTTP API, to reduce update memory
footprint
---------------------------------+-----------------------------
 Reporter:  markjaquith          |       Owner:  sivel
     Type:  task (blessed)       |      Status:  accepted
 Priority:  normal               |   Milestone:  Future Release
Component:  HTTP                 |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  3.2-early has-patch  |
---------------------------------+-----------------------------

Comment (by sivel):

 New patch fixes a bug with cURL, where the headers were added to the
 stream file and updates download_url() to use the new streaming
 functionality.

 Due to the way that the HTTP API works currently, if the HTTP Extension is
 installed and used, the download will likely fail, because it was not the
 first request made, see #8622.  This should be updated for the 3.2
 release.  Fopen will be going away for 3.2, so if the current default for
 an install is fopen it will fail as well, until we remove the fopen
 transport, see #13915.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16236#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list