]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
http.c: Include remote address in URI handler message.
authorSean Bright <sean@seanbright.com>
Mon, 22 Dec 2025 16:43:41 +0000 (11:43 -0500)
committerSean Bright <sean@seanbright.com>
Mon, 29 Dec 2025 18:01:43 +0000 (18:01 +0000)
Resolves: #1662

main/http.c

index 220019873f8a87a1ba96015927f9ee1b36fd2111..38aa5654c8b01a2a5b64a9f981f7c4c729e6fc40 100644 (file)
@@ -1518,7 +1518,8 @@ static int handle_uri(struct ast_tcptls_session_instance *ser, char *uri,
                }
                res = urih->callback(ser, urih, uri, method, get_vars, headers);
        } else {
-               ast_debug(1, "Requested URI [%s] has no handler\n", uri);
+               ast_debug(1, "Request from %s for URI [%s] has no registered handler\n",
+                       ast_sockaddr_stringify_addr(&ser->remote_address), uri);
                ast_http_error(ser, 404, "Not Found", "The requested URL was not found on this server.");
        }