Re: specifying compression level to zlib.output_compression

From: Date: Fri, 05 Apr 2002 11:45:13 +0000
Subject: Re: specifying compression level to zlib.output_compression
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-82132@lists.php.net to get a copy of this message
Ones that have PHPAPI in front of them :) Zeev At 02:25 PM 4/5/2002, Derick Rethans wrote:
On Fri, 5 Apr 2002, Zeev Suraski wrote: Any particular reason not to just change the signature of php_deflate_string()? Do you think anything else uses this function? I doubt it, especially considering its not marked as an API function... Which functions are marked as an API function then? Derick At 11:58 AM 4/5/2002, Stig S. Bakken wrote:
Hi, I need to be able to specify the compression level in zlib.output_handler. I was planning to implement it like this: * add php_deflate_string2 (or php_deflate_string_ex) that lets you specify compression level, move the code from php_deflate_string into php_deflate_string2 and make php_deflate_string a wrapper. * add an output_compression_level module global and zlib.output_compression_level ini entry, defaulting to Z_DEFAULT_COMPRESSION * use php_deflate_string2 in php_gzip_output_handler * set zlib module version to "1.1" Comment/object now, or forever hold your piece, uhm, peace. - Stig
-----------------------------------------------------------------------
                  Did I help you? Consider a gift:
      http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
---------------------------------------------------------------------
        PHP: Scripting the Web - www.php.net - derick@php.net
                All your branches are belong to me!
           SRM: Script Running Machine - www.vl-srm.net
---------------------------------------------------------------------


« previous php.dev (#82132) next »