Module: kamailio
Branch: master
Commit: 92f17d2e7945858cdfe40ab498fb7b046e02955a
URL:
https://github.com/kamailio/kamailio/commit/92f17d2e7945858cdfe40ab498fb7b0…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-12-20T16:27:07+08:00
xcap_client: revert tls_threads_mode=1
---
Modified: src/modules/xcap_client/xcap_client.c
---
Diff:
https://github.com/kamailio/kamailio/commit/92f17d2e7945858cdfe40ab498fb7b0…
Patch:
https://github.com/kamailio/kamailio/commit/92f17d2e7945858cdfe40ab498fb7b0…
---
diff --git a/src/modules/xcap_client/xcap_client.c
b/src/modules/xcap_client/xcap_client.c
index ce54162249e..602d74cea5e 100644
--- a/src/modules/xcap_client/xcap_client.c
+++ b/src/modules/xcap_client/xcap_client.c
@@ -43,9 +43,6 @@
#include "../../core/mem/shm_mem.h"
#include "../../core/rpc.h"
#include "../../core/rpc_lookup.h"
-#define KSR_RTHREAD_NEED_4L
-#define KSR_RTHREAD_SKIP_P
-#include "../../core/rthreads.h"
#include "../presence/utils_func.h"
#include "xcap_functions.h"
#include "xcap_client.h"
@@ -151,7 +148,7 @@ static int mod_init(void)
xcap_dbf.close(xcap_db);
xcap_db = NULL;
- run_thread4L((_thread_proto4L)curl_global_init, CURL_GLOBAL_ALL);
+ curl_global_init(CURL_GLOBAL_ALL);
if(periodical_query) {
register_timer(query_xcap_update, 0, query_period);