cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [daniel@haxx.se: Re: About the CURLOPT_TIMEOUT. or CURLOPT_CONNECTTIMEOUT in multi interface]

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 25 Feb 2008 23:31:46 +0100 (CET)

On Mon, 25 Feb 2008, Jeff Weber wrote:

>> There are a few operations in libcurl that are still done in a blocking
>> manner, but our ambition and goal is to get them all fixed eventually. If
>> you run on a non-windows box without c-ares, I'd say the most notable
>> blocking behaviour is the name resolving phase.
>
> I'm writing an embedded, multi-threaded application that uploads files via
> FTP. Does the current list of blocking code still include the FTP protocol?

Yes, for example these (mentioned in the libcurl-multi.3 man page):

  - Name resolves on non-windows unless c-ares is used
  - Active FTP connections
  - GnuTLS SSL connections (for ftps only then)

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