[sr-dev] TLS Variables in Makefile.def
Daniel-Constantin Mierla
miconda at gmail.com
Mon Dec 5 20:32:27 CET 2011
Hello,
yes, they are and seem to be sync'ed with the explanation:
./kamailio -V
version: kamailio 3.3.0-dev2 (x86_64/darwin) bb2e24-dirty
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR,
USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, select, kqueue.
id: bb2e24 -dirty
compiled on 12:57:31 Dec 2 2011 with gcc 4.2.1
The recommended way is to enable TLS_HOOKS, which will make possible to
have tls support via tls module, without a need to recompile everything.
When you want to compile with tls in the core, all sources have to be
recompiled.
Cheers,
Daniel
On 12/5/11 8:02 PM, Olle E. Johansson wrote:
> Are these variables valid?
> Are the explanations still up to date?
>
> Thanks,
> /O
> ---------------
>
> # -DUSE_TLS
> # compiles in tls support, requires -DUSE_TCP. Note: this is only
> # generic support (parsing a.s.o.), it does not include the actual
> # "tls engine". If you really want tls you need also either
> # -DCORE_TLS and a tls/ subdir with the tls code or -DTLS_HOOKS and
> # the tls module loaded.
> # -DCORE_TLS
> # compiles tls in-core support. Requires -DUSE_TLS, conflicts
> # -DTLS_HOOKS. Please use make CORE_TLS=1 instead (it will set all the
> # needed defines automatically and extra libraries needed for linking).
> # -DTLS_HOOKS
> # compile tls module support (support for having the "tls engine" in a
> # module). Requires -DUSE_TLS, conflicts -DCORE_TLS.
> # Please use make TLS_HOOKS=1 (or TLS_HOOKS=0 to for disabling) instead
> # of setting -DTLS_HOOKS (it will set all the needed defines
> # automatically)
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda
More information about the sr-dev
mailing list