Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTstSSHSocketServer.CloseAllOnDeactivate

property CloseAllOnDeactivate: Boolean read FCloseAllOnDeactivate write SetCloseAllOnDeactivate default True;
Controls what happens to live connections when the server is deactivated. When True (the default) deactivating the server sets the process-global close-all flag, so every open SSH session and any forwarded/tunnelled channel it carries is torn down immediately; set it False to stop accepting new connections while letting existing sessions run to completion. Note this flag is global, so deactivating one server with it set also signals other active servers/tunnels to close. Activating a server clears it again, so a server started after another was deactivated serves its connections normally.