Module: kamailio Branch: 5.8 Commit: c9503124f1e5d066163c505470124b9a1bd4b9e6 URL: https://github.com/kamailio/kamailio/commit/c9503124f1e5d066163c505470124b9a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/c9503124f1e5d066163c505470124b9a... Patch: https://github.com/kamailio/kamailio/commit/c9503124f1e5d066163c505470124b9a...
---
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; }