You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "trukhinyuri (via GitHub)" <gi...@apache.org> on 2026/10/14 18:23:47 UTC

[I] ClientConnectionService ignores per-session heartbeat properties set on ClientSession [mina-sshd]

trukhinyuri opened a new issue, #929:
URL: https://github.com/apache/mina-sshd/issues/929

   `ClientSessionImpl` initializes its services in the constructor before `SshClient.connect(...)` returns the `ClientSession`. Because `ClientConnectionService` reads `HEARTBEAT_REQUEST`, `HEARTBEAT_INTERVAL`, and `HEARTBEAT_NO_REPLY_MAX` only in its constructor, per-session heartbeat properties set on `ClientSession` before `session.auth()` are ignored when `startHeartBeat()` runs after authentication.
   
   Refresh `heartbeatRequest`, `heartbeatInterval`, and `heartbeatMaxNoReply` in `ClientConnectionService.startHeartBeat()` and add `KeepAliveTest#testPerSessionHeartbeatConfiguration`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


Re: [I] ClientConnectionService ignores per-session heartbeat properties set on ClientSession [mina-sshd]

Posted by "tomaswolf (via GitHub) via dev" <de...@mina.apache.org>.
tomaswolf closed issue #929: ClientConnectionService ignores per-session heartbeat properties set on ClientSession
URL: https://github.com/apache/mina-sshd/issues/929


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org