Project

General

Profile

Bug #1616

Content-length not always produced with mod_cgi

Added by Anonymous over 12 years ago. Updated almost 12 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_cgi
Target version:
ASK QUESTIONS IN Forums:

Description

We are using lighttp with several cgi programs written in C. For some reason lighttpd does not always produce a content-length header. Our web-client 'on the other side' has to retry up to 20 times before lighttpd produces a content length. The message produced by the cgi program is always the same namely: "OK\n".

#1

Updated by stbuehler over 12 years ago

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

If you always need a Content-Length, make your cgi-script send one.

But Content-Length is not a required header.

#2

Updated by stbuehler almost 12 years ago

  • Status changed from Fixed to Invalid

Also available in: Atom