#19332 [NEW]: In an gzopen gzclose loop after a little time the server stops.
| From: | rodrigo-rocha at oi dot net dot br | Date: | Tue, 10 Sep 2002 14:04:31 +0000 |
| Subject: | #19332 [NEW]: In an gzopen gzclose loop after a little time the server stops. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18928@lists.php.net to get a copy of this message | ||
From: rodrigo-rocha@oi.net.br
Operating system: Windows2000/?
PHP version: 4.2.2
PHP Bug Type: Zlib Related
Bug description: In an gzopen gzclose loop after a little time the server stops.
Running under Apache web server in an windows 2000 sistem, after 508 loops
of gzopen gzclose, the server will no more accept requests.
<?php
session_start();
if (! isset($_SESSION[counter])){$_SESSION[counter]=0;}
$_SESSION[counter]++;
echo $_SESSION[counter];
$filePointer = gzopen("test.gz", "rb9");
gzclose($filePointer);
?>
<script>
window.location = <this page>;
</script>
after 508 loops the server will stops
--
Edit bug report at http://bugs.php.net/?id=19332&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19332&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19332&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19332&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19332&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19332&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19332&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19332&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19332&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19332&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19332&r=globals