Turn off DNS query cache

This commit is contained in:
Juha Heinanen
2022-09-11 18:12:41 +03:00
parent 701e97a722
commit b28a1ef1f0

View File

@ -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));