- 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
svn/tags/lighttpd-1.4.17
Marcus Rückert 15 years ago
parent 2573648c4b
commit 05d9e7dd52
  1. 4
      src/connections.c

@ -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;

Loading…
Cancel
Save