Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5643 by yutakapon, Tue Jul 29 14:07:28 2014 UTC revision 5672 by maya, Wed Oct 1 05:52:38 2014 UTC
# Line 8556  static BOOL handle_SSH2_channel_close(PT Line 8556  static BOOL handle_SSH2_channel_close(PT
8556          notify_verbose_message(pvar, log, LOG_LEVEL_VERBOSE);          notify_verbose_message(pvar, log, LOG_LEVEL_VERBOSE);
8557    
8558          if (c->type == TYPE_SHELL) {          if (c->type == TYPE_SHELL) {
8559                    // notify_closed_connection() から呼ばれる SSH_notify_disconnecting() の中で
8560                    // SSH2_MSG_CHANNEL_CLOSE が送信されるのに任せる。
8561                    // クライアントから SSH2_MSG_DISCONNECT を送らなくても、すべての CHANNEL が閉じれば
8562                    // サーバから SSH2_MSG_DISCONNECT が送られてくることを期待する。
8563                    /*
8564                  msg = buffer_init();                  msg = buffer_init();
8565                  if (msg == NULL) {                  if (msg == NULL) {
8566                          // TODO: error check                          // TODO: error check
# Line 8574  static BOOL handle_SSH2_channel_close(PT Line 8579  static BOOL handle_SSH2_channel_close(PT
8579                  buffer_free(msg);                  buffer_free(msg);
8580    
8581                  notify_verbose_message(pvar, "SSH2_MSG_DISCONNECT was sent at handle_SSH2_channel_close().", LOG_LEVEL_VERBOSE);                  notify_verbose_message(pvar, "SSH2_MSG_DISCONNECT was sent at handle_SSH2_channel_close().", LOG_LEVEL_VERBOSE);
8582                    */
8583    
8584                  // TCP connection closed                  // TCP connection closed
8585                  notify_closed_connection(pvar);                  notify_closed_connection(pvar);

Legend:
Removed from v.5643  
changed lines
  Added in v.5672

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26