Project

General

Profile

Actions

Bug #798

closed

cannot send full partial content

Added by Anonymous over 18 years ago. Updated about 9 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

When I call this from PHP:

header("Status: 206 Partial Content");

lighttpd 1.4.11 cuts the HTTP reply at about 8192 bytes.

I think this is a bug in lighttpd, because if I call the PHP script by hand, the full output appears, and if I remove the header() line above and then call the script via lighttpd, I get the full output in my browser.

Actions #1

Updated by gstrauss about 9 years ago

Please close. Could not reproduce.

lighttpd 1.4.x processes the Range header in mod_staticfile, if mod_staticfile is handling the request. Since PHP is handling the request, mod_staticfile does not.

If your PHP returns 206 Partial Content, then the PHP also need to return the partial content, and not the whole document.

Actions #2

Updated by stbuehler about 9 years ago

  • Description updated (diff)
  • Status changed from New to Missing Feedback
  • Assignee deleted (jan)

Would need more details (strace, example script to actually reproduce it, ...).

Actions

Also available in: Atom