2
0
Эх сурвалжийг харах

microhttpd: debug message for http response queue

Daniel-Constantin Mierla 6 сар өмнө
parent
commit
7a793a257b

+ 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);
 			_ksr_mhttpd_ctx.connection, (unsigned int)rcode, response);
 	MHD_destroy_response(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;
 	return (ret == MHD_YES) ? 1 : -1;
 }
 }