Module: kamailio
Branch: master
Commit: b513666f76d2220d8914fadcc4968845efbf170f
URL: 
https://github.com/kamailio/kamailio/commit/b513666f76d2220d8914fadcc4968845efbf170f

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-06-26T09:05:10+02:00

nghttp2: docs updated to use the proper $nghttp2(path) variable

---

Modified: src/modules/nghttp2/doc/nghttp2_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/b513666f76d2220d8914fadcc4968845efbf170f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b513666f76d2220d8914fadcc4968845efbf170f.patch

---

diff --git a/src/modules/nghttp2/doc/nghttp2_admin.xml 
b/src/modules/nghttp2/doc/nghttp2_admin.xml
index 54cde446de6..a09bb5d0b33 100644
--- a/src/modules/nghttp2/doc/nghttp2_admin.xml
+++ b/src/modules/nghttp2/doc/nghttp2_admin.xml
@@ -182,7 +182,7 @@ event_route[nghttp2:request] {
         <para>
                        Inside it, the $nghttp2(...) group of variables is 
available, giving
                        access to several attributes of the HTTP request, such 
as method,
-                       URL, data (body) or headers.
+                       URL path, data (body) or headers.
         </para>
         <programlisting  format="linespecific">
 ...
@@ -190,7 +190,7 @@ event_route[nghttp2:request] {
 loadmodule "nghttp2.so
 ...
 event_route[nghttp2:request] {
-    xinfo("request: $nghttp2(method) - url: $nghttp2(url) - data: 
[$nghttp2(data)]\n");
+    xinfo("request: $nghttp2(method) - url: $nghttp2(path) - data: 
[$nghttp2(data)]\n");
     nghttp2_reply("200", "OK", "text/html",
         "&lt;html&gt;&lt;body&gt;OK&lt;/body&gt;&lt;/html&gt;");
 }

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to