[Bug 1307] client disconnects if ServerAlive enabled but not implemented

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 19 18:50:14 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1307


djm at mindrot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1264|                            |ok+
               Flag|                            |




------- Comment #7 from djm at mindrot.org  2007-04-19 18:50 -------
(From update of attachment 1264)
>--- packet.c	17 Jan 2007 00:00:14 -0000	1.146
>+++ packet.c	17 Apr 2007 04:51:57 -0000
>@@ -967,9 +967,10 @@ packet_read_expect(int expected_type)
>  * packet_process_incoming.  If so, reads the packet; otherwise returns
>  * SSH_MSG_NONE.  This does not wait for data from the connection.
>  *
>- * SSH_MSG_DISCONNECT is handled specially here.  Also,
>- * SSH_MSG_IGNORE messages are skipped by this function and are never returned
>- * to higher levels.
>+ * SSH_MSG_DISCONNECT is handled specially here.  Also, SSH_MSG_IGNORE
>+ * messages are skipped by this function and are never returned
>+ * to higher levels, although SSH2_MSG_IGNORE are since they are needed
>+ * for keepalives.

This comment is a little wordy and confusing. Maybe just
"SSH_MSG_IGNORE is passed up without processing for use as a
keepalive"?




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the openssh-bugs mailing list