Ticket #591 (new defect)

Opened 2 years ago

Last modified 11 months ago

Content-Length: 0 in header for PHP.

Reported by: anonymous Assigned to: jan
Priority: high Milestone:
Component: core Version: 1.4.x-svn
Severity: normal Keywords:
Cc: Blocking:
Need Feedback:

Description

wget -S --spider http://forums.airbase.ru/test.php
...
  HTTP/1.0 200 OK
  X-Powered-By: PHP/5.1.2-gentoo
  Content-Type: text/html; charset=utf-8
  Content-Length: 0
  Date: Tue, 21 Mar 2006 11:04:54 GMT
  Server: lighttpd/1.4.11
  X-Cache: MISS from gate.avias.local
  X-Cache-Lookup: MISS from gate.avias.local:3128
  Connection: keep-alive

It's simply PHP-code:

<?echo 2*2;?>

Using last (on this post time) SVN version of lighttpd.

For static content Content-Length is ok.

For Apache at this virtual host Content-Length is ok.

Attachments

Change History

07/03/2007 01:50:52 PM changed by oldspeak@gmail.com.invalid

I have the same problem with lighttpd 1.4.15 + PHP 5.2.3 (FastCGI) running on Linux x86_64. If I repeatedly refresh the request it will eventually display the page correctly. There are no error messages in the logs (just a standard 200 response with a length of 0 bytes), nothing out of the ordinary with debug.* turned on, just completely empty responses. I've tried with compress turned on and off (although the pages are dynamic anyway) and with zlib.output_compression in php.ini on and off, but the same problem persists. It is reproducible both locally and from remote machines. Please ask if you require any further information.


Add/Change #591 (Content-Length: 0 in header for PHP.)




Change Properties