- remove the code again. this reopens #948

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1902 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Marcus Rückert 2007-08-13 15:44:15 +00:00
parent 2573648c4b
commit 05d9e7dd52
1 changed files with 4 additions and 0 deletions

View File

@ -1445,9 +1445,13 @@ 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 */
/* the default should be 200 for now.
but this breaks 948 again. solution
pending
if (con->http_status == 0) {
con->http_status = con->error_handler_saved_status;
}
*/
}
if (con->http_status == 0) con->http_status = 200;