6.0.0
7/1/26

[#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/08 (6393 days ago)
Due
Updated 4/12/11 (5559 days ago)
Assigned
Resolved 4/12/11 (5559 days ago)
Milestone 2
Patch No

History
98 Michael Slusarz Comment #7
State ⇒ Resolved
Reply to this comment
This has been completed.
197 Michael Slusarz State ⇒ Stalled
 
3811 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
295 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.
42 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.
131 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
462 Michael Rubinsky Milestone ⇒ 2
 
322 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
39 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