Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsnipServerTLSOctetConnection.Detach

procedure Detach;
Marks the connection finished and unblocks the serving thread. Called from the reactor's I/O thread when the TLS session closes. It deliberately does NOT drop the transport reference: the serving thread may be inside TransportSend at this instant, and releasing the interface underneath it would be a use-after-free. The reference goes when this object does, which is after the serving thread has been joined.