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

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

outbound: revert tls_threads_mode=1

---

Modified: src/modules/outbound/outbound_mod.c

---

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

---

diff --git a/src/modules/outbound/outbound_mod.c 
b/src/modules/outbound/outbound_mod.c
index f64e2dfbe28..f3c80f18c15 100644
--- a/src/modules/outbound/outbound_mod.c
+++ b/src/modules/outbound/outbound_mod.c
@@ -42,10 +42,6 @@
 #include "../../core/parser/parse_uri.h"
 #include "../../core/parser/parse_supported.h"
 
-#define KSR_RTHREAD_SKIP_P
-#define KSR_RTHREAD_NEED_V
-#include "../../core/rthreads.h"
-
 #include "api.h"
 #include "config.h"
 
@@ -127,11 +123,7 @@ static int mod_init(void)
        }
        ob_key.len = OB_KEY_LEN;
 
-#if OPENSSL_VERSION_NUMBER < 0x010101000L
        mod_init_openssl();
-#else
-       run_threadV(mod_init_openssl);
-#endif
 
        if(cfg_declare("outbound", outbound_cfg_def, &default_outbound_cfg,
                           cfg_sizeof(outbound), &outbound_cfg)) {

_______________________________________________
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