From ab7e7144efd9ff195a1f7acbb53afdacb09f22c1 Mon Sep 17 00:00:00 2001 From: James Housley Date: Tue, 12 Jun 2007 21:32:45 +0000 Subject: * Updates for the latest version of libssh2, specifically libssh2_sftp_shutdown() and libssh2_session_free() can now return LIBSSH2_ERROR_EAGAIN. * Fix the _send() and _recv() return values so non-blocking works --- lib/urldata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 83053fbcf..d4d0bb05b 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -425,6 +425,8 @@ typedef enum { SSH_SFTP_INIT, SSH_SFTP_REALPATH, SSH_GET_WORKINGPATH, + SSH_SFTP_SHUTDOWN, + SSH_SESSION_FREE, SSH_QUIT, SSH_LAST /* never used */ } sshstate; @@ -453,6 +455,7 @@ struct ssh_conn { char rsa[PATH_MAX]; bool authed; sshstate state; /* always use ssh.c:state() to change state! */ + CURLcode actualCode; /* the actual error code */ }; -- cgit v1.2.3