Module: kamailio
Branch: master
Commit: f6066a022db81ae4d5f6c5cb5500fdcfdb15e33e
URL:
https://github.com/kamailio/kamailio/commit/f6066a022db81ae4d5f6c5cb5500fdc…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2018-01-22T10:10:51+01:00
Merge pull request #1405 from kamailio/vseva/http_async_client_fix
http_async_client: cleanup avps/xavps after exec route on Http worker
---
Modified: src/modules/http_async_client/async_http.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f6066a022db81ae4d5f6c5cb5500fdc…
Patch:
https://github.com/kamailio/kamailio/commit/f6066a022db81ae4d5f6c5cb5500fdc…
---
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: