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

tun_close is not killing sessions gracefully #275

Open
mary-dcouto opened this issue Jan 17, 2022 · 1 comment
Open

tun_close is not killing sessions gracefully #275

mary-dcouto opened this issue Jan 17, 2022 · 1 comment

Comments

@mary-dcouto
Copy link
Contributor

When we call tun_close inside the scm_service_stop() function, the ziti_loop thread is crashing. It looks like it is not killing the sessions gracefully

@scareything
Copy link
Member

Just to be clear, tun_close should not be responsible for closing sessions of any kind. It should only need to know about closing/freeing resources needed for the tun device.

I think the resolution of this issue will involve arranging the shutdown sequence of ziti-edge-tunnel to ensure that any dependencies on the tun device (e.g. active sessions) are closed before tun_close is called.

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

No branches or pull requests

2 participants