From eb6b48f03b794ba7430e50b47402ba9cf091f96d Mon Sep 17 00:00:00 2001 From: Federico Cabiddu Date: Fri, 12 Aug 2016 14:36:27 +0200 Subject: [PATCH] http_async_client: don't stop routing script execution for a POST query if transaction is not suspended --- modules/http_async_client/http_async_client_mod.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/http_async_client/http_async_client_mod.c b/modules/http_async_client/http_async_client_mod.c index f8d2cc24f19..54a0878aca4 100644 --- a/modules/http_async_client/http_async_client_mod.c +++ b/modules/http_async_client/http_async_client_mod.c @@ -487,11 +487,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")