|
|
|
|
|
by frankfarmer
4442 days ago
|
|
the c-ares init (which reads /dev/urandom) inside curl init happens even when DNS isn't used at all (even when making a request to 127.0.0.1), so it's pretty hard to avoid as long as curl is built with c-ares. The only way to mitigate is to remove c-ares or limit calls to curl init. |
|
Re: "limit calls to curl init" -- do you mean curl_easy_init() ? In that case, reusing handles (eg:
) would mitigate that, no?Edit: This doesn't make sense. c-ares relationship must be in curl_easy_perform(). Now I'm curious: