Merged
requested to merge 3966-backport-tlsstream-connectcb-behaviour-from-main-to-v9.18 into bind-9.18
This commit contains the backport of the behaviour for handling TLS connect callbacks when wrapping up.
The current behaviour have not caused any problems to us, yet, but we are changing it to remain on the safer side.
Closes #3966 (closed)
Backport of MR !7724 (merged) (very partial)