-
Stefy Lanza (nextime / spora ) authored
- Implement double SIGINT (Ctrl+C) detection in wssshd server - First Ctrl+C: Initiates graceful shutdown with cleanup - Second Ctrl+C: Forces immediate exit using os._exit(1) without cleanup - Consistent behavior with wssshc double Ctrl+C handling - Prevents hanging during shutdown when graceful shutdown fails - Maintains backward compatibility with single Ctrl+C graceful shutdown This ensures wssshd can be forcefully terminated if graceful shutdown gets stuck, while still allowing proper cleanup on normal shutdown.
b46562ea
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
config.py | ||
server.py | ||
terminal.py | ||
tunnel.py | ||
web.py | ||
websocket.py |