diff --git a/HTTPServer.cpp b/HTTPServer.cpp index 62a995cb..4644f10d 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -726,6 +726,11 @@ namespace util } destination = *addr; } + else + { + SendReply ("Unexpected address " + address + "", 404); + return; + } } SendToDestination (destination, buf, len);