gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 141/163: libssh: goto DISCONNECT state on error, no


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 141/163: libssh: goto DISCONNECT state on error, not SSH_SESSION_FREE
Date: Sun, 05 Aug 2018 12:37:47 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 03d884b7d867140f283a21d552c816bce2e25b86
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Jul 5 22:45:01 2018 +0200

    libssh: goto DISCONNECT state on error, not SSH_SESSION_FREE
    
    ... because otherwise not everything get closed down correctly.
    
    Fixes #2708
    Closes #2712
---
 lib/ssh-libssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ssh-libssh.c b/lib/ssh-libssh.c
index 1c00879ba..cecf477ac 100644
--- a/lib/ssh-libssh.c
+++ b/lib/ssh-libssh.c
@@ -429,7 +429,7 @@ cleanup:
 }
 
 #define MOVE_TO_ERROR_STATE(_r) { \
-  state(conn, SSH_SESSION_FREE); \
+  state(conn, SSH_SESSION_DISCONNECT); \
   sshc->actualcode = _r; \
   rc = SSH_ERROR; \
   break; \

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]