Module: kamailio
Branch: master
Commit: 7f33c48cc788d4caea0b1e06748bae0e6a6e90fb
URL: 
https://github.com/kamailio/kamailio/commit/7f33c48cc788d4caea0b1e06748bae0e6a6e90fb

Author: S-P Chan <shihping.c...@gmail.com>
Committer: S-P Chan <shihping.c...@gmail.com>
Date: 2024-12-20T16:27:07+08:00

http_async_client: revert tls_threads_mode=1

---

Modified: src/modules/http_async_client/http_async_client_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/7f33c48cc788d4caea0b1e06748bae0e6a6e90fb.diff
Patch: 
https://github.com/kamailio/kamailio/commit/7f33c48cc788d4caea0b1e06748bae0e6a6e90fb.patch

---

diff --git a/src/modules/http_async_client/http_async_client_mod.c 
b/src/modules/http_async_client/http_async_client_mod.c
index 0a9cbb0fbfb..b707cddb4a3 100644
--- a/src/modules/http_async_client/http_async_client_mod.c
+++ b/src/modules/http_async_client/http_async_client_mod.c
@@ -50,9 +50,6 @@
 #include "../../core/cfg/cfg_struct.h"
 #include "../../core/fmsg.h"
 #include "../../core/kemi.h"
-#define KSR_RTHREAD_NEED_V
-#define KSR_RTHREAD_SKIP_P
-#include "../../core/rthreads.h"
 
 #include "../../modules/tm/tm_load.h"
 #include "../../modules/pv/pv_api.h"
@@ -294,7 +291,7 @@ static int mod_init(void)
                return -1;
        }
 
-       run_threadV((_thread_protoV)&set_curl_mem_callbacks);
+       set_curl_mem_callbacks();
 
        /* init faked sip msg */
        if(faked_msg_init() < 0) {

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to