Explorar o código

xhttp: use stateless reply for sending http response

Daniel-Constantin Mierla %!s(int64=8) %!d(string=hai) anos
pai
achega
a977015758
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/xhttp/xhttp_mod.c

+ 1 - 1
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;