• Scott Kuhl's avatar
    Fix #494 sshuttle caught in infinite select() loop. · 5d6b1467
    Scott Kuhl authored
    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.
    5d6b1467
This project manages its dependencies using pip. Learn more
requirements.txt 29 Bytes