trukhinyuri opened a new pull request, #930:
URL: https://github.com/apache/mina-sshd/pull/930

   Fixes #929
   
   `ClientSessionImpl` initializes its services in the constructor before 
`SshClient.connect(...)` returns the `ClientSession`. Because 
`ClientConnectionService` previously read `HEARTBEAT_REQUEST`, 
`HEARTBEAT_INTERVAL`, and `HEARTBEAT_NO_REPLY_MAX` only in its constructor, 
per-session heartbeat properties configured on `ClientSession` before 
`session.auth()` were ignored when `startHeartBeat()` ran after authentication.
   
   - Refresh `heartbeatRequest`, `heartbeatInterval`, and `heartbeatMaxNoReply` 
in `ClientConnectionService.startHeartBeat()`.
   - 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to