Subject: Re: libssh2 hangs in channel_close()

Re: libssh2 hangs in channel_close()

From: Simon Josefsson <simon_at_josefsson.org>
Date: Tue, 13 Apr 2010 11:59:25 +0200

"Xu, Qiang (FXSGSC)" <Qiang.Xu_at_fujixerox.com> writes:

>> -----Original Message-----
>> From: libssh2-devel-bounces_at_cool.haxx.se
>> [mailto:libssh2-devel-bounces_at_cool.haxx.se] On Behalf Of
>> Simon Josefsson
>> Sent: Tuesday, April 13, 2010 5:45 PM
>> To: libssh2 development
>> Subject: Re: libssh2 hangs in channel_close()
>>
>> I wonder why the curl self-tests for libssh2 didn't trigger
>> this problem too? Don't they use libssh2_channel_free? What
>> server is used?
>
> It seems the most popular sftp server, OpenSSH, works well without
> Peter's fix for ticket 159. That is to say, OpenSSH sftp server works
> according to RFC4254, while FileZilla and CoreFTP server don't.

I'm using OpenSSH (5.3p1) and the libssh2 self check fails every time
with it, suggesting that OpenSSH doesn't send the EOF. I don't use SFTP
though. Maybe timing issues are involved, as Daniel suggested.

/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-04-13