6.0.0-alpha14
6/19/25

[#7814] Look at using a stream when downloading zip files
Summary Look at using a stream when downloading zip files
Queue Horde Framework Packages
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester mrubinsk (at) horde (dot) org
Created 12/29/2008 (6016 days ago)
Due
Updated 04/12/2011 (5182 days ago)
Assigned
Resolved 04/12/2011 (5182 days ago)
Milestone 2
Patch No

History
04/12/2011 08:58:09 AM Michael Slusarz Comment #7
State ⇒ Resolved
Reply to this comment
This has been completed.
07/02/2010 07:08:19 PM Michael Slusarz State ⇒ Stalled
 
07/13/2009 11:41:38 PM Michael Slusarz Comment #6
State ⇒ Feedback
Reply to this comment
I've added stream support to the zip compress method.  There is a 
limitation however - all data passed in must be converted at some 
point to an in-memory stream before passing through gzdeflate() - I 
can't get zlib stream filtering to work, although I have a hunch it is 
directly related to http://bugs.php.net/?id=48725
03/18/2009 05:48:29 PM Chuck Hagenbuch Comment #5 Reply to this comment
I guess the question for me is how widely available the pecl 
extensions are. Except for bugs, using our PHP code vs. PEAR or 
someone else's PHP code is kind of a wash to me - control vs. bugs vs. 
flexibility, etc.
03/18/2009 02:53:04 PM Michael Slusarz Comment #4 Reply to this comment
(A bit broader goal:) I personally would like to see us get out of 
compression data generation all together - meaning removing PHP code 
and instead exclusively using the other solutions available (PEAR/PECL 
libraries).  pear has evolved to the point that requiring a pear/pecl 
package is not difficult/prohibitive that we need a entirely local, 
PHP-based fallback IMHO.
03/18/2009 01:55:13 PM Michael Rubinsky Comment #3
Queue ⇒ Horde Framework Packages
Version ⇒ Git master
Reply to this comment
Moving to Framework queue for Horde 4 since this should be implemented 
in Horde_Compress
02/13/2009 02:46:46 AM Michael Rubinsky Milestone ⇒ 2
 
01/06/2009 02:42:32 AM Chuck Hagenbuch Comment #2
New Attachment: zipstream-php-0.1.1.zip Download
Reply to this comment
Code for inspiration or adaptation, from 
http://pablotron.org/software/zipstream-php
12/29/2008 09:13:03 PM Michael Rubinsky Comment #1
State ⇒ Accepted
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ansel
Summary ⇒ Look at using a stream when downloading zip files
Type ⇒ Enhancement
Priority ⇒ 1. Low
Reply to this comment
from chuck:



and probably changing our zip generation code to stream, instead of 
just hitting the heck out of server memory

Saved Queries