cURL / Mailing Lists / curl-library / Single Mail


Re: Weird FTP Connect Error Bug

From: Jofell Gallardo <>
Date: Sat, 22 Sep 2007 16:39:12 +0800

On 9/21/07, Daniel Stenberg <> wrote:
> On Wed, 19 Sep 2007, Jofell Gallardo wrote:
> >> Can you provide source code for us that repeats the problem on a public
> >> URL? Then we can help see if the problem is in your code or if it is a
> >> libcurl issue.
> [...]
> > I think it's basic stuff right? Also... I confirmed that this behavior
> also
> > happens in S3
> What's S3?

S3 is a REST-enabled storage system made by Amazon. We run upload file using

> that whenever I download 230-234 items, it shows the same error. HTTP-REST
> > and FTP are very different implementations but to have similar behavior
> for
> > number of downloads is quite weird. That just rules out that the server
> > admins likes my hair-pulling... :P
> Also, we do these things with libcurl all the time and nobody else reports
> this problem. I would say it hints that the problem is in your code rather
> than in libcurl.

Thanks for the info. I'm currently checking out which part of the code
doesn't close
file handles.

> I also mentioned this to the cocoadev mailing list, hoping this could be a
> > mac-only problem. Prolly a file handles thingy? Anyway... hope this
> helps.
> Well, can't you use some sort of tool to check for number of open files or
> similar? Or even use your strace equivalent to check exactly what system
> call
> that fails.

Thanks again for the info.
Received on 2007-09-22