cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: non-blocking FTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 May 2008 23:51:29 +0200 (CEST)

On Wed, 14 May 2008, Jeff Weber wrote:

>> "Never" or "so long that I gave up waiting"? Chances are, there is a long
>> timeout of some sort occurring. If it's due to the nameserver lookup, you
>> could reduce that by using c-ares for asynchronous lookups.
>>
> I've noticed 2 behaviors. Either the library starts running the progress
> callback at approximately 1Hz

Did you mention what libcurl version and platform you're using?

> or no callback is invoked at all. I wait for 3 minutes. I use raw dotted
> quad IP addresses, not DNS names.

Then you're seeing a bug. Can you repeat it? Can you check out what it is
doing during that time?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-14