#19442 [Fbk]: In a loop of gzopen gzclose the server stops

From: Date: Wed, 09 Oct 2002 02:48:56 +0000
Subject: #19442 [Fbk]: In a loop of gzopen gzclose the server stops
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21879@lists.php.net to get a copy of this message
ID: 19442 Updated by: sniper@php.net Reported By: rodrigo-rocha@oi.net.br Status: Feedback Bug Type: Zlib Related Operating System: windows/? PHP Version: 4.2.3 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-09-17 00:15:30] mfischer@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-09-16 15:42:02] rodrigo-rocha@oi.net.br This script will make the setver to crash down <?php $filepointer = gzopen("somefile.txt","rb"); gzclose($filepointer); echo "<script> window.location='$_SERVER[REQUEST_URI]'; </script>"; ?> At my apache web server this crash after 508 loops. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19442&edit=1

« previous php.bugs (#21879) next »