diff options
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index f798f52..8e9108e 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -6652,6 +6652,13 @@ t("BODY"); | |||
6652 | I("%s %s://%s%s -> %s%s", Rd->Method, Rd->Scheme, Rd->Host, Rd->RUri, webRoot, Path); | 6652 | I("%s %s://%s%s -> %s%s", Rd->Method, Rd->Scheme, Rd->Host, Rd->RUri, webRoot, Path); |
6653 | D("Started FCGI web request ROLE = %s, body is %s bytes, pid %d.", Role, Length, getpid()); | 6653 | D("Started FCGI web request ROLE = %s, body is %s bytes, pid %d.", Role, Length, getpid()); |
6654 | 6654 | ||
6655 | if (NULL == Path) | ||
6656 | { | ||
6657 | E("NULL path in FCGI request!"); | ||
6658 | Rd->Rheaders->putstr(Rd->Rheaders, "Status", "404 Not Found"); | ||
6659 | goto sendReply; | ||
6660 | } | ||
6661 | |||
6655 | /* TODO - other headers may include - | 6662 | /* TODO - other headers may include - |
6656 | different Content-type | 6663 | different Content-type |
6657 | Status: 304 Not Modified | 6664 | Status: 304 Not Modified |