Module: kamailio
Branch: master
Commit: ad46b115bedec01c52c5a9dcde0756db85ee61ec
URL:
https://github.com/kamailio/kamailio/commit/ad46b115bedec01c52c5a9dcde0756d…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2018-01-22T09:05:08+01:00
http_async_client: cleanup avps/xavps after exec route on Http worker
when suspend_transaction is false
---
Modified: src/modules/http_async_client/async_http.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ad46b115bedec01c52c5a9dcde0756d…
Patch:
https://github.com/kamailio/kamailio/commit/ad46b115bedec01c52c5a9dcde0756d…
---
diff --git a/src/modules/http_async_client/async_http.c
b/src/modules/http_async_client/async_http.c
index 59106a3bae..87a62ea8f6 100644
--- a/src/modules/http_async_client/async_http.c
+++ b/src/modules/http_async_client/async_http.c
@@ -45,6 +45,7 @@
#include "../../core/dprint.h"
#include "../../core/ut.h"
#include "../../core/cfg/cfg_struct.h"
+#include "../../core/receive.h"
#include "../../core/fmsg.h"
#include "../../core/kemi.h"
#include "../../modules/tm/tm_load.h"
@@ -263,6 +264,7 @@ void async_http_cb(struct http_m_reply *reply, void *param)
LM_ERR("error running event route kemi callback\n");
}
}
+ ksr_msg_env_reset();
}
done: