Subject: Re: libssh2_userauth_password return value

Re: libssh2_userauth_password return value

From: Peter Stuge <peter_at_stuge.se>
Date: Wed, 17 Apr 2013 14:07:43 +0200

cosmin_at_5ivestars.net wrote:
> } else if (rc) {
> session->userauth_pswd_state = libssh2_NB_state_idle;
> return _libssh2_error(session, LIBSSH2_ERROR_TIMEOUT,
> "Would block waiting");
> }
>
> I think it should return the actual error from the transport layer
> and not a "general" LIBSSH2_ERROR_TIMEOUT error.

Could you send a patch to fix that? Thanks.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-04-17