#15885 [Opn->Fbk]: thttpd can't serve 0 byte files with PHP patches

From: Date: Sun, 03 Nov 2002 17:07:44 +0000
Subject: #15885 [Opn->Fbk]: thttpd can't serve 0 byte files with PHP patches
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23991@lists.php.net to get a copy of this message
 ID:          15885
 Updated by:  iliaa@php.net
 Reported By: daniel-gl@gmx.net
-Status:      Open
+Status:      Feedback
 Bug Type:    Other web server
 PHP Version: 4.1.2
 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-03-05 12:59:34] daniel-gl@gmx.net

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 this bug report at http://bugs.php.net/?id=15885&edit=1



Thread (4 messages)

« previous php.bugs (#23991) next »