On Thu, 17 Feb 2011, Daniel Stenberg wrote:
I'll have to double-check that, but I believe it is safe. The ARES_EDESTRUCTION is passed to the callback when the ares channel is being torned down, so there's no need for any "num_pending" logic in that case.
In my further testing of the patch, I noticed that when using the threaded resolver valgrind got very upset. More work is clearly required before it can be merged...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
