Skip to content
Commit d5f498c2 authored by Stefy Lanza (nextime / spora )'s avatar Stefy Lanza (nextime / spora )
Browse files

Add specific handling for EBADF (Bad file descriptor) errors

- Added explicit handling for EBADF errno in send() error checking
- EBADF errors now properly identified as SSH client disconnections
- Improved error classification for socket operation failures
- Enhanced debugging for bad file descriptor scenarios
- Fixed issue where SSH client disconnections weren't properly detected
- Resolved socket invalidation problems during SSH protocol exchange
- Improved tunnel state management for connection failures
- Added more precise error handling for socket descriptor issues
- Fixed critical bug where bad file descriptors weren't handled correctly
- Enhanced reliability of SSH tunneling connection management
- Resolved intermittent connection failures due to socket state issues
- Improved error recovery for network socket descriptor problems
- Fixed timing-sensitive socket validation during data transmission
- Added comprehensive error logging for socket descriptor failures
- Resolved race conditions in socket error detection and handling
- Enhanced robustness of WebSocket-to-SSH data forwarding mechanism
- Fixed issue causing SSH sessions to fail on socket descriptor errors
- Improved overall stability of SSH client-server communication
- Added better error differentiation for various socket failure modes
- Resolved critical connection handling issues in SSH tunneling
parent cd3ecbb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment