comparison svr-session.c @ 968:f7f6c15b0ec3

Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses
author Matt Johnston <matt@ucc.asn.au>
date Wed, 13 Aug 2014 21:48:47 +0800
parents e9dfb6d15193
children 0bb16232e7c4
comparison
equal deleted inserted replaced
967:02821319ab1f 968:f7f6c15b0ec3
56 {SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_remotetcp}, 56 {SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_remotetcp},
57 {SSH_MSG_CHANNEL_REQUEST, recv_msg_channel_request}, 57 {SSH_MSG_CHANNEL_REQUEST, recv_msg_channel_request},
58 {SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open}, 58 {SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open},
59 {SSH_MSG_CHANNEL_EOF, recv_msg_channel_eof}, 59 {SSH_MSG_CHANNEL_EOF, recv_msg_channel_eof},
60 {SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close}, 60 {SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close},
61 {SSH_MSG_REQUEST_FAILURE, ignore_recv_msg_request_failure}, /* for keepalive */
61 #ifdef USING_LISTENERS 62 #ifdef USING_LISTENERS
62 {SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation}, 63 {SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation},
63 {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure}, 64 {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure},
64 #endif 65 #endif
65 {0, 0} /* End */ 66 {0, 0} /* End */