Feature #1284

lighttpd don't print keep alive answering header

Added by joungkyun 439 days ago. Updated 5 days ago.

Status:Wontfix Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:1.4.20
Pending:

No

Resolution:

wontfix

Patch available:


Description

lighttpd only print answering header "Connection: close" about Keep Alive. But Any programs check answering header as follows:


Connection: Keep-Alive
Keep-Alive: timeout=60, max=1000

This patch print upper answering headers for Keep Alive status, and has same operation with Apache web server.

lighttpd-keepalive-header.patch (2.4 KB) joungkyun, 08/03/2007 09:29 AM

History

08/15/2007 11:05 AM - jan

  • Status changed from New to Assigned

For HTTP/1.1


Connection: Keep-Alive 

is the default and doesn't have to be specified.

The Keep-Alive header is not specified in the RFC 2616 and I wonder where it is documented.

08/15/2007 02:31 PM - joungkyun

Keep-Alive: header is optional. (http://tools.ietf.org/html/rfc2068 19.7.1.1)

But, sometimes some libraries (for example, libtorrent and so on..) check this header. So, I want to be support this function on lighttpd.

07/30/2008 09:45 PM - stbuehler

  • Status changed from Assigned to Fixed
  • Resolution set to wontfix

The Keep-Alive header itself is optional, and is used only if a
parameter is being sent. HTTP/1.1 does not define any parameters.

So there are no standard params, there is reason to use it.

10/10/2008 07:05 PM - stbuehler

  • Status changed from Fixed to Wontfix

Also available in: Atom PDF