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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-03-16T08:27:24+01:00

microhttpd: debug message for http response queue

---

Modified: src/modules/microhttpd/microhttpd_mod.c

---

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

---

diff --git a/src/modules/microhttpd/microhttpd_mod.c 
b/src/modules/microhttpd/microhttpd_mod.c
index 0ef4b36284e..9a913b449bb 100644
--- a/src/modules/microhttpd/microhttpd_mod.c
+++ b/src/modules/microhttpd/microhttpd_mod.c
@@ -372,6 +372,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