sshw icon indicating copy to clipboard operation
sshw copied to clipboard

sshw disconnect automatically

Open world520ai opened this issue 2 years ago • 3 comments

when I comment below, everything is ok. //go func() { // for { // time.Sleep(time.Second * 10) // client.SendRequest("[email protected]", false, nil) // } //}()

world520ai avatar Sep 08 '22 12:09 world520ai

This use to implements keepalive features.

reference:

  • https://datatracker.ietf.org/doc/draft-ietf-netconf-server-model/06/
  • https://www.rfc-editor.org/rfc/rfc8071.txt
  • https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/622

bug needs to investigate.

yinheli avatar Sep 08 '22 15:09 yinheli

I agree with you, but if client.SendRequest("[email protected]", false, nil) could cause the connection terminated? I think this is possible.

image

world520ai avatar Sep 09 '22 01:09 world520ai

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 05 '23 21:06 stale[bot]