Fix SSH client socket invalidation issue in handle_tunnel_data
- Fixed premature tunnel deactivation when socket fcntl check fails - Removed aggressive tunnel shutdown on socket validity check failure - Socket invalidation during tunnel_data processing no longer kills entire tunnel - SSH client disconnections during data exchange are now handled gracefully - Prevents race condition between socket validation and data transmission - Allows tunnel to continue operating even if individual socket checks fail - Improved error handling for temporary socket state issues - Fixed issue where SSH client would disconnect immediately after version exchange - Resolved 'Bad file descriptor' errors during active tunnel operation - Maintains tunnel stability during SSH protocol handshake phase - Prevents false positive tunnel closures due to timing-sensitive socket checks - Added more resilient socket state management for connection stability - Fixed critical bug causing SSH sessions to terminate prematurely - Improved robustness of WebSocket-to-SSH data forwarding mechanism - Resolved intermittent connection failures during protocol negotiation - Enhanced error recovery for network socket state fluctuations - Implemented more forgiving socket validation during data transmission
Showing
Please
register
or
sign in
to comment