Improve error handling for broken SSH connections
- 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
Showing
Please
register
or
sign in
to comment