Subject: Re: [libssh2] libssh2-0.16 hanging on scp copy

Re: [libssh2] libssh2-0.16 hanging on scp copy

From: Peter O'Gorman <libssh2-devel_at_mlists.thewrittenword.com>
Date: Tue, 7 Aug 2007 20:03:02 -0500

On Tue, Aug 07, 2007 at 11:25:21AM -0500, Peter O'Gorman wrote:
> I tried with several "small" files (up to about 1Mb) and things seemed
> to work fine with both scp and sftp, no hanging.
>
> We configured libssh2 with libgcrypt-1.2.4 and libgpg-error-1.5.

Ok, I can repeat fairly simply on this Fedora Core 6 machine also.

1) Download libssh2-0.17 and unpack.
2) ./configure CFLAGS=-ggdb3
3) gmake
4) cat /dev/urandom > /tmp/TEST; (you can stop it at 100Mb or so)
5) cd examples/simple
6) ./scp_nonblock 127.0.0.1 user pass > /tmp/TEST2

Peter

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-08-08