Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Keepalive Message #6

Merged
merged 7 commits into from
Nov 5, 2021
Merged

Conversation

linhanyu
Copy link

@linhanyu linhanyu commented Nov 5, 2021

According to https://github.com/mscdex/ssh2, node.ssh2 use GlobalRequest to implement Keepalive functional. It will disconnect when ssh session idle for 1~2 minutes.
This PR includes:

  1. Add interface of KeepaliveConfig
  2. implementation of KeepAlive
  3. simple unit test
  4. add implementation of GLOBAL_REQUEST, GLOBAL_REQUEST_FAILURE, GLOBAL_REQUEST_SUCESS.

@xtyxtyx xtyxtyx merged commit 3316b25 into TerminalStudio:master Nov 5, 2021
@doprdele
Copy link

@xtyxtyx I think this may have been accidentally unmerged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants