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: Christian Schmitz <support_at_monkeybreadsoftware.de>
Date: Wed, 25 Nov 2009 18:19:03 +0100

Am 14.11.2009 um 09:58 schrieb Daniel Stenberg:

> On Sun, 8 Nov 2009, Daniel Stenberg wrote:
>
>> Hm, if that's so then I consider that a bug. I think we should add a code chunk to ftp_easy_statemach() that looks something like this:
>
> No feedback, but I committed this anyway since I believe it is the right thing.

Well, I finally got my own CURL lib compiled this week.

Actually I debugged a little bit more and the problem is that between message 229 and 227 is over 1:30 delay. I'm not sure what we can there and whether this ftp server is not working correctly:

18:13:24
229 Entering Extended Passive Mode (|||3005|)

18:14:59
227 Entering Passive Mode (65,244,184,230,11,189)

From my time traces I see that Curl_socket_ready is called which calls select() which takes all the time.

Maybe there is a way to make sure this select never takes more than a second before it returns and the progress is called so we can keep the GUI running. Any idea?

Greetings
Christian

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET