mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-12-29 01:59:20 +01:00
5d6b14673f
Improve detection of when the ssh process exits in both daemon and foreground modes. Previously, sshuttle could infinite loop with 100% cpu usage if the ssh process died. On machines that use suspend, the ssh connection might not resume after wakeup. Now, this situation is detected and sshuttle exits. The fix involves changing the return value we check for when we call poll() and using a psutil function to detect when the process exits if we are running sshuttle as a daemon.
3 lines
29 B
Plaintext
3 lines
29 B
Plaintext
setuptools-scm==4.1.2
|
|
psutil
|