www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: RE: libssh2 takes long time to disconnect from CoreFTP's SFTP service

RE: libssh2 takes long time to disconnect from CoreFTP's SFTP service

From: Xu, Qiang (FXSGSC) <Qiang.Xu_at_fujixerox.com>
Date: Fri, 19 Feb 2010 17:36:03 +0800

> -----Original Message-----
> From: libssh2-devel-bounces_at_cool.haxx.se
> [mailto:libssh2-devel-bounces_at_cool.haxx.se] On Behalf Of Peter Stuge
> Sent: Friday, February 19, 2010 4:42 PM
> To: libssh2-devel_at_cool.haxx.se
> Subject: Re: libssh2 takes long time to disconnect from
> CoreFTP's SFTP service
>
> Hmm.
>
> Maybe this is a problem in libssh2 anyway. The library must
> be able to close an SFTP connection without depending on a
> timeout or configuration setting on the server side. Imagine
> what would happen if the server is using an infinite timeout!

Ahhh, yes, I didn't think of this. There is really a potential risk.
 
> Of course - it is possible that the server is not behaving
> correctly, but I would like it to be investigated further to
> be certain.
>
> The question is if libssh2 is correct when it starts to wait,
> or if it should actually continue to close the connection.
>
> [...]
> Please do, it is good also for documenting that we know about
> this problem, even if it is not the fault of libssh2.

The ticket has been created, with the link as http://libssh2.stuge.se/ticket/159.
 
> Hm. Is there any SFTP client (in Windows there is also
> WinSCP, and maybe you or a co-worker can test Cyberduck on
> Mac OS X?) working correctly with this server?

Just tried WinSCP. Yes, the problem is still there. I don't have access to Mac machines. :-(

Thanks for your help and investigation,
Xu Qiang
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-19

the libssh2 team