curl / Mailing Lists / curl-library / Single Mail

curl-library

Memory consumption of DNS cache when network is down?

From: Ricardo Mota via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 4 Feb 2019 11:46:45 +0000

Hello community,

I'm experiencing a problem using *libcurl *due to a memory consumption
increase in my application which queries a simple REST API in a loop
reusing the same handle. Doing some tests, I only notice this memory
increase when I'm using name resolution and specifically when the network
is down. I've already tried to disable DNS cache by setting
*CURLOPT_DNS_CACHE_TIMEOUT
*value to 0 but the problem seems to persist. Can somebody please help me
debugging this problem?

Thank you all very much for your attention.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-02-04