Subject: [libssh2] #253: Transport aborted with a disconnect packet when ending the connection with libssh2_session_init_ex

[libssh2] #253: Transport aborted with a disconnect packet when ending the connection with libssh2_session_init_ex

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Wed, 28 Nov 2012 22:10:07 -0000

#253: Transport aborted with a disconnect packet when ending the connection with
libssh2_session_init_ex
----------------------+-----------------------
 Reporter: rdenault | Owner: rdenault
     Type: defect | Status: new
 Priority: normal | Milestone: 1.4.3
Component: API | Version: 1.4.2
 Keywords: | Blocked By:
   Blocks: |
----------------------+-----------------------
 When ending a client connection using the libssh2_session_init_ex, with
 the SSH_DISCONNECT_BY_APPLICATION, the server will log the session closure
 as an abort disconnect.

 This causes some server to abort their actions, and not perform the
 session end triggers.
 Log message:
 ==================================================================
 Nov 12 13:21:09 hostname vshelld[1467]: conn,00001: The transport was
 aborted with a disconnect packet: Disconnected by application.
 ==================================================================

 The issue was detect using curl, sftp (openssh), and perl Net:SSH2 modules
 that use ligssh2 (1.4.2) The issue was also present in version 1.2.6 of
 the library.

-- 
Ticket URL: <https://trac.libssh2.org/ticket/253>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-11-28