#33623 [NEW]: History buffer in gzinflate
| From: | vincent dot lascaux at centraliens dot net | Date: | Sat, 09 Jul 2005 13:08:30 +0000 |
| Subject: | #33623 [NEW]: History buffer in gzinflate | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-81614@lists.php.net to get a copy of this message | ||
From: vincent dot lascaux at centraliens dot net
Operating system:
PHP version: 5.0.4
PHP Bug Type: Feature/Change Request
Bug description: History buffer in gzinflate
Description:
------------
Hi,
I'm the autor of File_Archive (http://pear.php.net/package/File_Archive)
and I'm adding a CAB file reader to it. This format can store deflated
data, that can be uncompressed with gzinflate. Unfortunately, the data is
cut blocks. The doc specifies that "Each block is flushed out of the
compressor before the next block begins, so the last sub-block in each
block will be marked as the âendâ of the stream. Any decoding trees
are discarded after each block, with only the history buffer surviving
from one block to the next."
My feature request is to be able to give to gzinflate the history buffer
to use, and to retrieve from it the history buffer after the compression
of the data.
A possible syntax would be
string gzinflate(string data[, int length[, array options]])
The array could store a reference to a history buffer that would be used
(if not null) to uncompress the data and that would be updated after the
data has been uncompressed.
--
Edit bug report at http://bugs.php.net/?id=33623&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33623&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33623&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33623&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33623&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33623&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33623&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33623&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33623&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33623&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33623&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33623&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33623&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33623&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33623&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33623&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33623&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33623&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33623&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33623&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33623&r=mysqlcfg