|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1822405 ] curlftpfs hangs after reading files with no write permission
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 31 Oct 2007 05:18:18 -0700
Bugs item #1822405, was opened at 2007-10-29 23:27
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
http://sourceforge.net/tracker/index.php?func=detail&aid=1809225&group_id=160565&atid=816357
i'm not sure if this is really a libcurl problem, but there is a suspicion that libcurl doesn't move into a working state after reading a file failed (because no read permissions for the ftp user).
if there is a possibility to reproduce this bug without curlftpfs please tell me and i will try (perhaps a peace of demo code, which also uses curl_multi).
----------------------------------------------------------------------
>Comment By: n.f. (norbertf)
Message:
ok - here is another log with the important parts and some curlftpfs
i don't understand why the data connection from a previous (failed) RETR
File Added: curlftpfs3.log
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
First, line 428 is completely wrong on all libcurl versions before 7.17.0.
"NOTE: before 7.17.0 strings were not copied. Instead the user was
If this mistake is done once, perhaps it is made more times at other
And regarding EPSV vs PASV, they're more or less identical in the client
Your log is hard to follow since it is multiple requests shown in a single
----------------------------------------------------------------------
Comment By: n.f. (norbertf)
Message:
AFAIK there is no firewall between my workstation and my ftp server. They
I tried a ethereal dump. Below the conversation of the control channel.
I don't know the EPSV protocol. Shouldn't the ftp client close this
230 User XXXX logged in.
i might try to write a test case which resembles the behavior of
http://curlftpfs.cvs.sourceforge.net/curlftpfs/curlftpfs/ftpfs.c?revision=1.25&view=markup
maybe there is something obviously wrong... i think the problem is that
thx
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
That "recommendation" is worth nothing here. Yeah, EPSV might cause
Can you please do a plain libcurl app that repeats the problem against
----------------------------------------------------------------------
Comment By: n.f. (norbertf)
Message:
no. i didn't test PORT mode, because curlftpfs doesn't seem to have a
what i can say is that the problem occurs in EPSV but not in PASV mode.
i also found this "recommendation":
http://www.ohloh.net/projects/7238/contributors/40480/commits/11711342
and yes, the problem occurs on every hit (on my own ftp server - a
i just tried on an external FTP server - also with EPSV - but i can't
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Message:
Are you saying the problem occurs in PORT mode? Because the log attached
----------------------------------------------------------------------
Comment By: n.f. (norbertf)
Message:
i tried to investigate this further:
this behavior might indicate that this is a libcurl bug:
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Since this doesn't seem to be a bug in libcurl...
----------------------------------------------------------------------
Comment By: n.f. (norbertf)
Message:
thanks a lot, i will try your test-case as soon as possible.
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Message:
The error code from the FTP server in both cases is 550, so from libcurl's
----------------------------------------------------------------------
Comment By: n.f. (norbertf)
Message:
thanks, but i think that's not a file-not-found problem, but a
> RETR messages.4
have a look at curlftplog.txt, which i attached to the curlftpfs bug
after trying to read messages.4 and messages.3 (which both have no read
...
(hangs)
----------------------------------------------------------------------
Comment By: Dan Fandrich (dfandrich)
Message:
I've created test case 546 that tests a file-not-found FTP transfer
----------------------------------------------------------------------
Comment By: n.f. (norbertf)
Message:
sorry - the title of this bug report should be:
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info