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

Timeout callback #179

Open
aymanbagabas opened this issue Aug 10, 2022 · 1 comment
Open

Timeout callback #179

aymanbagabas opened this issue Aug 10, 2022 · 1 comment
Labels

Comments

@aymanbagabas
Copy link
Contributor

Is there a way to call a function just before the connection times out and closes?

@gustavosbarreto
Copy link
Collaborator

@aymanbagabas
If you're interested in some context of how I implemented this, please see: https://github.com/shellhub-io/shellhub/blob/master/agent/sshd/server.go#L197

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

No branches or pull requests

2 participants