• Stefy Lanza (nextime / spora )'s avatar
    Add graceful shutdown with tunnel close on SIGINT · 821af834
    Stefy Lanza (nextime / spora ) authored
    - Implement SIGINT signal handler for both wssshc and wsssht
    - Add graceful shutdown logic that sends tunnel_close messages for active tunnels
    - Implement 3-second timeout for tunnel close operations to complete
    - Add double Ctrl+C detection for immediate exit without waiting
    - Update signal handling throughout both programs to use graceful_shutdown flag
    
    This ensures that active tunnels are properly closed when the programs
    exit, either normally or via Ctrl+C, with a timeout mechanism and
    fallback for immediate exit on second Ctrl+C.
    821af834
Name
Last commit
Last update
..
debian Loading commit data...
libwsssht Loading commit data...
man Loading commit data...
configure.sh Loading commit data...
wsscp.c Loading commit data...
wsscp.h Loading commit data...
wsssh.c Loading commit data...
wsssh.h Loading commit data...
wssshc.c Loading commit data...
wsssht.c Loading commit data...