[ https://issues.apache.org/jira/browse/SSHD-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220042#comment-16220042 ]
MayDay commented on SSHD-780: ----------------------------- If the server is out of my control,how to make the heartbeat( which send a request and don't wait for the reponse) useful. And the default heartbeat buffer is {color:#205081}false {color}(see [https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/client/session/ClientConnectionService.java]). Accoding the {color:#205081}rfc4254{color}, The recipient will respond to this message with SSH_MSG_REQUEST_SUCCESS or SSH_MSG_REQUEST_FAILURE if 'want reply' is {color:#205081}TRUE{color}. Is it a bug? > How does the HeartBeat work? > ---------------------------- > > Key: SSHD-780 > URL: https://issues.apache.org/jira/browse/SSHD-780 > Project: MINA SSHD > Issue Type: Question > Affects Versions: 1.4.0 > Environment: jdk1.8.0 > Reporter: MayDay > > How does the HeartBeat work? > it only send keepAlive every interal time,but not to check the reply of the > keepAlive timeout. > how does the client know that the server is available. > Or does other param need to set to make the client heartbeat work? -- This message was sent by Atlassian JIRA (v6.4.14#64029)