Project

General

Profile

Bug #960

Use of X-LIGHTTPD-send-file header and Keep-Alive

Added by jabaltie almost 10 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

Description

When a script running from behind a FastCGI server uses the X-LIGHTTPD-send-file header, and your script also issues a "Connection: Keep-Alive" header, X-LIGHTTPD-send-file header makes Lighty disregard the Keep-Alive header and add its own "Connection: Close" header.

Thus, the client will receive both headers, close and Keep-Alive.

When the script DOES NOT use the X-LIGHTTPD-send-file header, Keep-Alive works OK, that is, it will be there.

On the other hand, if the script DOES NOT generate the Keep-Alive header and uses the X-LIGHTTPD-send-file header, Lighty will genereate a "Connection: Close" header.

Associated revisions

Revision 4db2292d (diff)
Added by stbuehler about 8 years ago

Fix duplicate connection keep-alive/transfer-encoding headers (#960)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2326 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler about 8 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

It seems it was fixed for 1.5 in r1553, but not for 1.4.
Fixed in r2326

Also available in: Atom