cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1823487 ] sftp does not keep connections alive

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 08 Nov 2007 02:24:19 -0800

Bugs item #1823487, was opened at 2007-10-31 14:46
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1823487&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SCP/SFTP
Group: wrong behaviour
>Status: Closed
>Resolution: Fixed
Priority: 3
Private: No
Submitted By: Bryan T (btopscher)
Assigned to: Daniel Stenberg (bagder)
Summary: sftp does not keep connections alive

Initial Comment:
RHEL 5 box
Uname -a:
2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

curl --version:
curl 7.17.1 (x86_64-unknown-linux-gnu) libcurl/7.17.1 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 libssh2/0.17

I have a curl program that takes a uri and grabs a file and then leaves the connection open to grab another file. When my uri is ftp this works as expected. However, when my uri is a sftp (the rest of the uri is exactly the same) the connection is dropped when any file is grabbed.

I read a posting that someone else posted this and the reply was that this was a bug. The mailing list http://curl.haxx.se/mail/curlpython-2007-10/0005.html and http://curl.haxx.se/mail/lib-2007-09/0229.html are both having the same issues.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2007-11-08 11:24

Message:
Logged In: YES
user_id=1110
Originator: NO

Thanks for the report.

I did a pretty major overhaul of the code and I've committed that now, and
persistent connections work fine for me in my tests with both SCP and SFTP.
Do try the CVS version or tomorrow's daily snapshot if you want to verify.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2007-11-05 11:14

Message:
Logged In: YES
user_id=1110
Originator: NO

The problem is identified and I posted about it to the curl-library list
just now, see:

http://curl.haxx.se/mail/lib-2007-11/0040.html

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2007-11-04 23:42

Message:
Logged In: YES
user_id=1110
Originator: NO

Agreed, I can easily repeat the problem...

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1823487&group_id=976
Received on 2007-11-08

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET