Skip to content
Snippets Groups Projects
Commit 8d7d9eb2 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Lower severity of "Response file path is NULL" log msg from CRIT to WARNING

This is not a completely unexpected thing to happen during ungraceful
termination
parent 31d25168
Branches
Tags
No related merge requests found
......@@ -1165,7 +1165,7 @@ static bool content_file_open(http_session_t* session)
const char* path = session->req.cleanup_file[CLEANUP_SSJS_TMP_FILE];
if (session->req.fp == NULL) {
if (path == NULL)
lprintf(LOG_CRIT, "%04d %s [%s] Response file path is NULL"
lprintf(LOG_WARNING, "%04d %s [%s] Response file path is NULL"
,session->socket, session->client.protocol, session->host_ip);
else {
session->req.fp = fopen(path, "wb");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment