Module: kamailio Branch: master Commit: b513666f76d2220d8914fadcc4968845efbf170f URL: https://github.com/kamailio/kamailio/commit/b513666f76d2220d8914fadcc4968845...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/b513666f76d2220d8914fadcc4968845... Patch: https://github.com/kamailio/kamailio/commit/b513666f76d2220d8914fadcc4968845...
---
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", "<html><body>OK</body></html>"); }