[SR-Users] How to enable TLS compression
刘日新
liurixin at linxun.com
Tue May 6 11:36:44 CEST 2014
Hi, all.
I has configure kamailio.cfg as below:
#!ifdef WITH_TLS
modparam("tls", "session_id", "vic22")
modparam("tls", "session_cache",1)
modparam("tls", "tls_disable_compression",0)
modparam("tls", "config", "/usr/cfg/tls.cfg")
#!endif
I was sure that this configure segment was included , in case that I set a wrong path to
modparam("tls", "config", "/wrong paths/tls.cfg")
the kamailio can`t boost and raised error.
But, when I debug this configure with gdb, I found that, within method : init_tls_compression(),
Line 384 of tls_init.c
384 } else if (cfg_get(tls, tls_cfg, disable_compression)){
385 LOG(L_INFO, "tls: init_tls: disabling compression...\n");
386 sk_SSL_COMP_zero(comp_methods);
The param value from cfg was always 1, namely:
* print ((struct cfg_group_tls *)tls_cfg)->disable_compression
1
Why that? Are there something wrong?
B.R.
Rixin liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140506/60b47713/attachment.html>
More information about the sr-users
mailing list