# HG changeset patch # User Olaf Wintermann # Date 1748587258 -7200 # Node ID d703055a1af70f7002f10ae7867a3ae0126d24c2 # Parent 33ca0f9f276f19a5a531a0069ef91104b455aca2 add request uri/path debug logging diff -r 33ca0f9f276f -r d703055a1af7 src/server/daemon/httprequest.c --- a/src/server/daemon/httprequest.c Thu May 29 15:18:48 2025 +0200 +++ b/src/server/daemon/httprequest.c Fri May 30 08:40:58 2025 +0200 @@ -266,6 +266,11 @@ // TODO: implement global OPTIONS #71 return 1; } + log_ereport( + LOG_DEBUG, + "req uri: {%.*s}", + (int)absPath.length, + absPath.ptr); for(int i=0;iuri.length;i++) { if(request->uri.ptr[i] == '?') { @@ -292,6 +297,11 @@ break; } } + log_ereport( + LOG_DEBUG, + "req abs path: {%.*s}", + (int)absPath.length, + absPath.ptr); // Get abs_path part of request URI, and canonicalize the path cxmutstr orig_path = absPath;