diff 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
line wrap: on
line diff
--- a/svr-session.c	Fri Aug 08 21:53:47 2014 +0800
+++ b/svr-session.c	Wed Aug 13 21:48:47 2014 +0800
@@ -58,6 +58,7 @@
 	{SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open},
 	{SSH_MSG_CHANNEL_EOF, recv_msg_channel_eof},
 	{SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close},
+	{SSH_MSG_REQUEST_FAILURE, ignore_recv_msg_request_failure}, /* for keepalive */
 #ifdef USING_LISTENERS
 	{SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation},
 	{SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure},