cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3581900 ] libcurl hangs when sftp destination run out of space

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 30 Oct 2012 05:46:19 -0700

Bugs item #3581900, was opened at 2012-10-30 05:46
Message generated for change (Tracker Item Submitted) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3581900&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: hang
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Stenberg (bagder)
Assigned to: Daniel Stenberg (bagder)
Summary: libcurl hangs when sftp destination run out of space

Initial Comment:
when sftp destination is roun out of space, libcurl hangs, and try send more data forever. The error is in lib/ssh.c at Curl_scp_send and Curl_sftp_send function:

The libssh2_sftp_write returns number of bytes written or negative on failure. (http://www.libssh2.org/libssh2_sftp_write.html), the libssh2_channel_write function do the same.

The original bug report was found here: https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1056141 and it contains a patch.

The original bug report seems to be for curl 7.19 but a quick look at current (7.28.0) code indicates that the problem remains today.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3581900&group_id=976
Received on 2012-10-30

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET