curl-library
RE: Async cancel lengthy DNS lookup
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 2 Jan 2010 15:20:25 +0100 (CET)
Date: Sat, 2 Jan 2010 15:20:25 +0100 (CET)
On Sat, 2 Jan 2010, Adrian Michel wrote:
> I applied the patch, but the progress callback function is not getting
> called.
Why doesn't the suggested patch work? Is it really the name resolve that is
slow? Isn't the patched function the one that is called to do the name
resolve? And if it uses the patched function, why isn't the fix good enough?
Since you seem to be able to repeat this case, can't you just set a
break-point and single-step through the function and see what happens?
BTW, how do you force a slow name resolve for this problem to repeat?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-01-02