• Stefy Lanza (nextime / spora )'s avatar
    Improve error handling for broken SSH connections · 3fbae822
    Stefy Lanza (nextime / spora ) authored
    - Added detailed error reporting when socket becomes invalid
    - Mark tunnel as inactive when SSH connection is broken
    - Enhanced debugging for socket closure detection
    - Added errno reporting for connection errors
    - Improved error messages to distinguish between different failure modes
    - Added proper tunnel state management when connections fail
    - Better handling of SSH client disconnections during handshake
    - Added mutex protection for tunnel state updates during errors
    3fbae822
tunnel.c 28.6 KB