]> 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:44 +0000 (18:01 +0000)
Resolves: #1662

main/http.c

index 37bc2db2eda24300fa1a05f01f285d10092b6ce8..ff249f8a9039347375d7f666a5d752eb738e553a 100644 (file)
@@ -1520,7 +1520,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.");
        }