Module: kamailio Branch: 5.0 Commit: 76176130ee60ee819cd7850b7a7e433dc5c4f8cc URL: https://github.com/kamailio/kamailio/commit/76176130ee60ee819cd7850b7a7e433dc5c4f8cc
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2017-03-16T11:01:17+01:00 xhttp: use stateless reply for sending http response (cherry picked from commit a97701575863993f8a19f9dd611156b37ffca247) --- Modified: src/modules/xhttp/xhttp_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/76176130ee60ee819cd7850b7a7e433dc5c4f8cc.diff Patch: https://github.com/kamailio/kamailio/commit/76176130ee60ee819cd7850b7a7e433dc5c4f8cc.patch --- diff --git a/src/modules/xhttp/xhttp_mod.c b/src/modules/xhttp/xhttp_mod.c index 2443de1..05b45c3 100644 --- a/src/modules/xhttp/xhttp_mod.c +++ b/src/modules/xhttp/xhttp_mod.c @@ -412,7 +412,7 @@ static int xhttp_send_reply(sip_msg_t *msg, int code, str *reason, LM_DBG("response with body: %.*s\n", body->len, body->s); } LM_DBG("sending out response: %d %.*s\n", code, reason->len, reason->s); - if (slb.freply(msg, code, reason) < 0) + if (slb.sreply(msg, code, reason) < 0) { LM_ERR("Error while sending reply\n"); return -1; _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev