cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Does not returns in network connection error

From: Ranu Gontia <ranu_gontia_at_persistent.co.in>
Date: Sun, 25 Jan 2009 11:17:46 +0530

I have waited for about 5 minutes.
But if I do the same by using ftpupload.c then it returns back within few
sec.
So I though there is some problem with my code.
Please check, am I missing something.

Thanks,
Ranu

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
Sent: Sunday, January 25, 2009 11:07 AM
To: curl-library_at_cool.haxx.se
Subject: Re: Does not returns in network connection error

On Sun, Jan 25, 2009 at 10:57:10AM +0530, Ranu Gontia wrote:
> Yes, I am only uploading files using FTP.
> LibCurl version is 7.19.2.0 on windows XP,
> Scenario is that, I am in the middle of transfer, (For testing purpose, I
> removes my machine form network),
> When client execute this line "retCode = curl_easy_perform(curlhandle);"
it
> never returns back.

Never? How long have you actually waited? It could take over 10 minutes
for some TCP/IP stacks to time out and close the connection.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2009-01-25