Ticket #823 (closed defect: invalid)

Opened 2 years ago

Last modified 2 weeks ago

connections.c.239: (trace) no status, setting 403

Reported by: chernousov Assigned to: jan
Priority: high Milestone:
Component: core Version: 1.5.x-svn
Severity: blocker Keywords: 403
Cc: Blocking:
Need Feedback: 0

Description

svn sources, revision 1270.

originally from http://forum.lighttpd.net/topic/1310

Posted by ethaniel (Guest) on 27.08.2006 19:29

I downloaded the latest lighttpd from SVN. it starts and works ok. but when it goes to php scripts it's acting strange. it performs scripts on some of the sites. on the others it spits out an error:

connections.c.239: (trace) no status, setting 403

Posted by Vyacheslav Chernousov on 27.08.2006 23:40

There are 2 ways to solve this bug (yes, it's BUG):

1. insert everywhere in your scripts:

header('Status: 200');

2. or apply this patch to lighttpd sources:

svn diff connections.c
Index: connections.c
===================================================================
--- connections.c       (revision 1270)
+++ connections.c       (working copy)
@@ -236,8 +236,8 @@
        }

        if (con->http_status == 0) {
-               TRACE("%s", "no status, setting 403");
-               con->http_status = 403;
+               TRACE("%s", "no status, setting 200");
+               con->http_status = 200;
        }

        switch(con->http_status) {

I know that this patch is not problem **solving**, but just bug **bypass**. But at least it's temporarily solution for us.

Attachments

Change History

04/09/2007 08:07:17 PM changed by jan

  • version changed from 1.4.x-svn to 1.5.x-svn.
  • blocking changed.

the original bug report says 1.5.0-svn.

05/04/2008 01:51:24 PM changed by stbuehler

  • status changed from new to closed.
  • resolution set to invalid.
  • pending changed.

mod-fastcgi got removed, please use mod-proxy-core now.


Add/Change #823 (connections.c.239: (trace) no status, setting 403)




Change Properties
Action