Turn off DNS query cache
This commit is contained in:
@ -450,8 +450,8 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Turn off DNS client cache (should be OK with async workers)
|
// Turn off DNS client cache (should be OK with async workers, but it not)
|
||||||
// dnsc_cache_max(net_dnsc(baresip_network()), 0);
|
dnsc_cache_max(net_dnsc(baresip_network()), 0);
|
||||||
|
|
||||||
if (strlen(addrs) > 0) {
|
if (strlen(addrs) > 0) {
|
||||||
char* addr_list = (char*)malloc(strlen(addrs));
|
char* addr_list = (char*)malloc(strlen(addrs));
|
||||||
|
|||||||
Reference in New Issue
Block a user