Module: kamailio
Branch: master
Commit: ab6d46e6ab08066021419154045da5c3f2721377
URL:
https://github.com/kamailio/kamailio/commit/ab6d46e6ab08066021419154045da5c…
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
outbound: revert tls_threads_mode=1
---
Modified: src/modules/outbound/outbound_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ab6d46e6ab08066021419154045da5c…
Patch:
https://github.com/kamailio/kamailio/commit/ab6d46e6ab08066021419154045da5c…
---
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)) {