Bug #15885: thttpd can't serve 0 byte files with PHP patches

From: Date: Tue, 05 Mar 2002 17:59:35 +0000
Subject: Bug #15885: thttpd can't serve 0 byte files with PHP patches
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1708@lists.php.net to get a copy of this message
From: daniel-gl@gmx.net Operating system: PHP version: 4.1.2 PHP Bug Type: Other web server Bug description: thttpd can't serve 0 byte files with PHP patches PHP for thttpd sets TG(hc)->file_address = (char *)1 to mark a connection as "don't close". thttpd used this value to mark files without mapped memory (0 byte files). When such a file is requested, the client hangs. -- Edit bug report at http://bugs.php.net/?id=15885&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15885&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15885&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15885&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15885&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15885&r=support Expected behavior: http://bugs.php.net/fix.php?id=15885&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15885&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15885&r=submittedtwice

« previous php.bugs (#1708) next »