summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-04-28 14:08:37 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2019-05-04 13:48:22 -0400
commit8f0adfe0439b93263f8312f55a8060a6822e8bdc (patch)
treec59771f3e5b989c02eb96ce6e6522f8dc31a60a2
parent61e8d799f08419866754eca9b28c726b226a2523 (diff)
downloadlighttpd1.4-8f0adfe0439b93263f8312f55a8060a6822e8bdc.tar.gz
lighttpd1.4-8f0adfe0439b93263f8312f55a8060a6822e8bdc.zip
[core] emit trace using path before clearing path
-rw-r--r--src/response.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/response.c b/src/response.c
index aa97af1d..28c04c78 100644
--- a/src/response.c
+++ b/src/response.c
@@ -158,14 +158,14 @@ static handler_t http_response_physical_path_check(server *srv, connection *con)
break;
default:
/* we have no idea what happend. let's tell the user so. */
- con->http_status = 500;
- buffer_reset(con->physical.path);
-
log_error_write(srv, __FILE__, __LINE__, "ssbsb",
"file not found ... or so: ", strerror(errno),
con->uri.path,
"->", con->physical.path);
+ con->http_status = 500;
+ buffer_reset(con->physical.path);
+
return HANDLER_FINISHED;
}