#19436 [NoF->Opn]: zlib.output_compression causing corruption

From: Date: Tue, 07 Jan 2003 13:17:30 +0000
Subject: #19436 [NoF->Opn]: zlib.output_compression causing corruption
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29315@lists.php.net to get a copy of this message
ID: 19436 Updated by: nicos@php.net Reported By: steveh@brendata.co.uk -Status: No Feedback +Status: Open Bug Type: Zlib Related Operating System: redhat linux 7.3 PHP Version: 4CVS-2002-09-16 New Comment: Opening it back then. Previous Comments: ------------------------------------------------------------------------ [2003-01-07 07:14:36] steveh@brendata.co.uk This is still happening with php 4.3.0 and zend optimiser 2.0.3, I turned zlib.output_compression=on, tested and the downloaded file (a zip file) was corrupt, set zlib.output_compression=off and then the download worked fine. ------------------------------------------------------------------------ [2002-10-20 23:25:01] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-10-05 09:49:20] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I am unable to replicate the bug, it is more then likely that one of the recent changes in output handling code has resolved this issue. ------------------------------------------------------------------------ [2002-09-16 08:23:56] steveh@brendata.co.uk When using php to supply data for a file download from a database the resultant file is shortened, switching off output_compression resolves this issue. Had to update to the latest CVS version to fix truncation issues on 4.2.3 of text fields. Using code very similar to that listed on the sybase functions page (search for hex2bin) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19436&edit=1

« previous php.bugs (#29315) next »