Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmAsyncTLSServer.Deactivate

procedure Deactivate(aKill: Boolean);
Stops the server. aKill = True tears every live connection down immediately. aKill = False closes the listener at once, then sends a TLS close_notify to each live connection and waits up to DeactivateTimeout milliseconds for them to finish; whatever is still connected when the timeout expires is killed. Active := False routes here - gracefully, unless DeactivateTimeout is 0.