src/server/daemon/httprequest.c

changeset 591
d703055a1af7
parent 579
e10457d74fe1
child 614
eb1c4d464ecd
--- 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;i<request->uri.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;

mercurial