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

Archive Index This month's Index

Subject: Re: Error Receiving a File SCP

Re: Error Receiving a File SCP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 27 May 2012 19:18:46 +0200 (CEST)

On Sun, 27 May 2012, Barry Fawthrop wrote:

> Any light on what will cause recv to hang up ?

Hang or hang up? Did your code run in blocking or non-blocking mode?

Which libssh2 version on what operating system?

> Also interested to know what triggers the Failure Event -37 and causes it to
> loop back ? I need to try to create this loop around

-37 is as you can see LIBSSH2_ERROR_EAGAIN and I believe this is documented.
It is what gets returened when no data can be sent/received and it then
returns this instead of blocking.

  / daniel.haxx.se
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-27

the libssh2 team