Fix socket availability issue in handle_tunnel_data
- Added check for valid target socket before attempting to send data - Prevents 'Bad file descriptor' errors when local socket isn't ready yet - Added debug message when target socket is not available - Ensures tunnel_data messages are ignored until SSH connection is established - Fixes race condition between WebSocket message arrival and SSH client connection
Showing
Please
register
or
sign in
to comment