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

Archive Index This month's Index

Subject: Re: ProFTPD SFTP connection problem

Re: ProFTPD SFTP connection problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 16 Oct 2012 00:52:40 +0200 (CEST)

On Mon, 15 Oct 2012, Torbjörn Lindgren wrote:

> [libssh2] 0.609810 Socket: Error recving 16384 bytes (got 5)
>
> Failure establishing SSH session: -43
>
> At some occations libssh2_session_handshake waits for several minutes. At
> those occations return is still -43 but it is (got 0) instead of (got 5).

That's src/transport.c:376 at work. I can't easily tell why that triggers for
you though.

-- 
  / daniel.haxx.se

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-10-16

the libssh2 team