Hi,

is it by design that libcurl seems to allocate one c-ares channel per easy 
handle?
In my application, I'm running lots of transfers via the multi interface, and 
while profiling, I noticed ~ 3 % of my run time is spent in parsing the hosts 
file over and over again, once for each easy transfer.
Is it possible to either share the parsed hosts file between transfers or 
alternatively disable the /etc/hosts lookup entirely? (When using c-ares API, 
there seems to be the possibility to skip it, but not sure how to do it when 
using it from libcurl.)

Thanks,

Patrick
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to