Module: kamailio
Branch: 4.4
Commit: 384e9006469ed0176dce922eb49e133c969975e3
URL:
https://github.com/kamailio/kamailio/commit/384e9006469ed0176dce922eb49e133…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2016-08-12T14:52:43+02:00
http_async_client: don't stop routing script execution for a POST query if transaction
is not suspended
(cherry picked from commit eb6b48f03b794ba7430e50b47402ba9cf091f96d)
---
Modified: modules/http_async_client/http_async_client_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/384e9006469ed0176dce922eb49e133…
Patch:
https://github.com/kamailio/kamailio/commit/384e9006469ed0176dce922eb49e133…
---
diff --git a/modules/http_async_client/http_async_client_mod.c
b/modules/http_async_client/http_async_client_mod.c
index 0ea2923..965129d 100644
--- a/modules/http_async_client/http_async_client_mod.c
+++ b/modules/http_async_client/http_async_client_mod.c
@@ -496,11 +496,7 @@ static int w_http_async_post(sip_msg_t *msg, char *query, char* post,
char* rt)
return -1;
}
- if(async_send_query(msg, &sdata, &post_data, act)<0)
- return -1;
-
- /* force exit in config */
- return 0;
+ return async_send_query(msg, &sdata, &post_data, act);
}
#define _IVALUE_ERROR(NAME) LM_ERR("invalid parameter '" #NAME "'
(must be a number)\n")