Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTsmAsyncTLSServer.HandshakeTimeout

property HandshakeTimeout: Cardinal read fHandshakeTimeout write fHandshakeTimeout default 15000;
TOTAL budget, in milliseconds, from ACCEPT to a completed TLS handshake. Deliberately an ABSOLUTE deadline: it is armed once, at accept, and is NEVER re-armed by traffic. An idle-style timer that any arriving byte resets is defeated by a peer dribbling one octet just inside every window, and the handshake is exactly where that attack is cheapest to mount and most expensive to absorb - a connection that has said nothing still holds a MaxConcurrentHandshakes slot, and MaxConcurrentHandshakes of them deny service to everyone else indefinitely. Expiry raises nrHandshakeStalled through OnConnectionNudge. 0 disables.