doc/
subfolder, the README file is autogenerated)This PR fixes a crash when dns_cache_init=off
.
The issue is described in #3350 and the crash is caused when trying to search in dns_cache.c
LOCK_DNS_HASH();.
When dns_cache_init=off
, the lock is never initialized and when trying to lock it crashes.
Per my understanding, when dns_cache_init=off
, no calls to dns_cache.c
should be made and instead call the alternative ones from resolve.c
, since the whole functions are compiled only when USE_DNS_CACHE definition is present.
Just a question to clarify, what is the reasoning behind USE_DNS_CACHE definition and a separate dns_cache_init
parameter?
https://github.com/kamailio/kamailio/pull/3858
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.