소스 검색

xhttp: use stateless reply for sending http response

Daniel-Constantin Mierla 8 년 전
부모
커밋
a977015758
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;