eventTsmAsyncTLSServer.OnConnectionNudge
property OnConnectionNudge: tAsyncTLSNudgeEvent read fOnConnectionNudge write fOnConnectionNudge;
THE VETO. Fired after a connection has been nudged - by an application calling tTLSConnection.RequestNudgeFor today, by the deadline reaper when it lands - and BEFORE anything is closed. The handler sees why, and sees the protocol plugin's own answer already in aVerdict, so leaving aVerdict alone defers to the plugin and setting it decides against it. aVerdict := nvKeepAlive holds the connection open;
aRearmMs how long until it is asked again, 0 = never ask again (the connection leaves deadline scope until something arms one on it) - except after the peer's close, where 0 is asked again every cPeerCloseGraceMs. For nrRequestStalled it arrives holding what is left of the idle deadline, so leaving it alone leaves that deadline where it was. A session that is waiting on an external event - a Snif callback that will answer only once something happens elsewhere - keeps its transport alive exactly this way instead of being reaped for being quiet. CONTRACT: runs on an I/O thread with that connection's gate held. It must not block, must not close the connection itself, and must not call back into the server; the close, if any, is performed by the reactor when the handler returns.