cURL / Mailing Lists / curl-library / Single Mail


RE: Does not returns in network connection error

From: Ranu Gontia <>
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
So I though there is some problem with my code.
Please check, am I missing something.


-----Original Message-----
[] On Behalf Of Dan Fandrich
Sent: Sunday, January 25, 2009 11:07 AM
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 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);"
> 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

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2009-01-25