2
0
Эх сурвалжийг харах

Merge pull request #1405 from kamailio/vseva/http_async_client_fix

http_async_client: cleanup avps/xavps after exec route on Http worker
Federico Cabiddu 7 жил өмнө
parent
commit
f6066a022d

+ 2 - 0
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: