cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: Progress while connecting?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Nov 2009 22:40:44 +0100 (CET)

On Mon, 2 Nov 2009, Christian Schmitz wrote:

> It looks like for a FTP address the time needed for the login and changing
> path and other setup stuff takes a few seconds where my application is
> blocked.
>
> Do you know how to get some callback for updating the GUI while connecting?
>
> This is before the progress events start so I thought about modifying the
> library to call some new callback for progress while connecting.

The progress callback should be called, from the start. The only time it can't
be called is during name resolving if your libcurl is built to use the regular
synchronous resolver. So if you really see an extended period of no calls (and
it isn't resolving the name then), it is a bug.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-02

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET