Module: kamailio
Branch: 5.8
Commit: c9503124f1e5d066163c505470124b9a1bd4b9e6
URL: 
https://github.com/kamailio/kamailio/commit/c9503124f1e5d066163c505470124b9a1bd4b9e6

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-03-20T07:30:58+01:00

microhttpd: debug message for http response queue

(cherry picked from commit 7a793a257b12f946e54bca3d3d92b6c07602fb20)
(cherry picked from commit 813d3ed6a532cc0baa98d27ef9eea579e5ca1688)

---

Modified: src/modules/microhttpd/microhttpd_mod.c

---

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

---

diff --git a/src/modules/microhttpd/microhttpd_mod.c 
b/src/modules/microhttpd/microhttpd_mod.c
index f1ee8334b8b..dbfaec01786 100644
--- a/src/modules/microhttpd/microhttpd_mod.c
+++ b/src/modules/microhttpd/microhttpd_mod.c
@@ -371,6 +371,9 @@ static int ksr_mhttpd_send_reply(
                        _ksr_mhttpd_ctx.connection, (unsigned int)rcode, 
response);
        MHD_destroy_response(response);
 
+       LM_DBG("queue response return: %d (%s)\n", ret,
+                       (ret == MHD_YES) ? "YES" : "XYZ");
+
        return (ret == MHD_YES) ? 1 : -1;
 }
 

_______________________________________________
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