svnno****@sourc*****
svnno****@sourc*****
2014年 10月 1日 (水) 14:52:41 JST
Revision: 5672 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5672 Author: maya Date: 2014-10-01 14:52:38 +0900 (Wed, 01 Oct 2014) Log Message: ----------- shell の CHANNEL が閉じたとき SSH2_MSG_DISCONNECT を送信するのをやめた #34403 SSH2でログアウト時に SSH2_MSG_DISCONNECT(SSH2_DISCONNECT_PROTOCOL_ERROR) Ticket Links: ------------ http://sourceforge.jp/projects/ttssh2/tracker/detail/34403 Modified Paths: -------------- trunk/ttssh2/ttxssh/ssh.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ssh.c =================================================================== --- trunk/ttssh2/ttxssh/ssh.c 2014-10-01 05:46:33 UTC (rev 5671) +++ trunk/ttssh2/ttxssh/ssh.c 2014-10-01 05:52:38 UTC (rev 5672) @@ -8556,6 +8556,11 @@ notify_verbose_message(pvar, log, LOG_LEVEL_VERBOSE); if (c->type == TYPE_SHELL) { + // notify_closed_connection() \x82\xA9\x82\xE7\x8CĂ\xEA\x82\xE9 SSH_notify_disconnecting() \x82̒\x86\x82\xC5 + // SSH2_MSG_CHANNEL_CLOSE \x82\xAA\x91\x97\x90M\x82\xB3\x82\xEA\x82\xE9\x82̂ɔC\x82\xB9\x82\xE9\x81B + // \x83N\x83\x89\x83C\x83A\x83\x93\x83g\x82\xA9\x82\xE7 SSH2_MSG_DISCONNECT \x82𑗂\xE7\x82Ȃ\xAD\x82Ă\xE0\x81A\x82\xB7\x82ׂĂ\xCC CHANNEL \x82\xAA\x95\xB6\x82\xEA\x82\xCE + // \x83T\x81[\x83o\x82\xA9\x82\xE7 SSH2_MSG_DISCONNECT \x82\xAA\x91\x97\x82\xE7\x82\xEA\x82Ă\xAD\x82邱\x82Ƃ\xF0\x8A\xFA\x91҂\xB7\x82\xE9\x81B + /* msg = buffer_init(); if (msg == NULL) { // TODO: error check @@ -8574,6 +8579,7 @@ buffer_free(msg); notify_verbose_message(pvar, "SSH2_MSG_DISCONNECT was sent at handle_SSH2_channel_close().", LOG_LEVEL_VERBOSE); + */ // TCP connection closed notify_closed_connection(pvar);