• Stefy Lanza (nextime / spora )'s avatar
    Fix wssshc SIGINT crashes and multiple tunnel closure issues · 9aa71110
    Stefy Lanza (nextime / spora ) authored
    - Fix double-free corruption in cleanup_tunnel by removing SSL freeing
    - Add global shutdown flag for proper thread synchronization
    - Improve SIGINT handling with better thread cleanup timing
    - Send tunnel_close acknowledgment when receiving tunnel_close from server
    - Prevent threads from accessing freed tunnel structures
    - Ensure proper resource management during shutdown
    9aa71110
wssshc.c 38.3 KB