Project

General

Profile

Actions

Bug #1291

closed

FastCGI Status line get replaced

Added by bnickel over 16 years ago. Updated over 15 years ago.

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

Description

Hi, I'm developing the FastCGI ASP.NET server for Mono and I've come into a problem. When serving a static file, the ASP.NET responds with the following:

--
HTTP/1.1 304 Not Modified
Date: Wed, 08 Aug 2007 10:25:33 GMT
Content-Length: 0
Cache-Control: private
Content-Type: text/html; charset=utf-8
--

However, WireShark is telling me that the actual response from the server is "HTTP/1.1 200 OK ...", so images, CSS, etc become a blank page every other refresh. Lighttpd should use the status code provided by the server response, as 300 level response give instructions to the client.


Files

Example.tar.gz (26.4 KB) Example.tar.gz An example application. bnickel, 2007-08-08 19:01
tcpdump (3.46 KB) tcpdump TCP dump of transaction with FastCGI and HTTP packets. bnickel, 2007-08-08 19:18
Actions #1

Updated by darix over 16 years ago

do you have a test case?

Actions #2

Updated by bnickel over 16 years ago

The above application starts a FastCGI server on port 9000 that responds to any request with:

--
HTTP/1.1 404 Not Found\r\nContent-type: text/html\r\n\r\nHi there
--

This request becomes "200 OK" when sent from Lighttpd to the browser. To run it, run "mono FastCgi301.exe".

I'll attach a tcpdump of the transaction.

Actions #3

Updated by bnickel over 16 years ago

Oops. False alarm. I was sending the status incorrectly.

Actions #4

Updated by darix over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid
Actions #5

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom