cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: Async cancel lengthy DNS lookup

From: Daniel Stenberg <daniel_at_haxx.se>
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.html
Received on 2010-01-02

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET