Browse Source

microhttpd: debug message for http response queue

Daniel-Constantin Mierla 6 months ago
parent
commit
7a793a257b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/modules/microhttpd/microhttpd_mod.c

+ 3 - 0
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;
 }