[
https://issues.apache.org/jira/browse/SSHD-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220042#comment-16220042
]
MayDay edited comment on SSHD-780 at 10/26/17 6:50 AM:
-------------------------------------------------------
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
[{color:#205081}[https://github.com/apache/mina-sshd/blob/693fa5d90f54676de6655954046a8a4f5d09728a/sshd-core/src/main/java/org/apache/sshd/client/session/ClientConnectionService.java]{color}]).
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?
was (Author: mayday):
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
[{color:#205081}ClientConnectionService{color}]). 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)