From 450c7de76e01c4dc5be3989117215ce915188a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20R=C3=BCckert?= Date: Wed, 9 May 2007 15:05:17 +0000 Subject: [PATCH] - restore the old return code with configured 404 handlers git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1852 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/connections.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/connections.c b/src/connections.c index 806e4b63..28e62798 100644 --- a/src/connections.c +++ b/src/connections.c @@ -1432,6 +1432,7 @@ int connection_state_machine(server *srv, connection *con) { } else if (con->in_error_handler) { /* error-handler is back and has generated content */ /* if Status: was set, take it otherwise use 200 */ + con->http_status = con->error_handler_saved_status; } if (con->http_status == 0) con->http_status = 200;