Subject: Re: bug#49449: 28: TLS connection never gets to "open" stage

From: Eli Zaretskii <[email-masked]>
Date: Sat, 10 Jul 2021 22:31:25 +0300

> From: Mattias Engdegård <[email-masked]>
> Date: Sat, 10 Jul 2021 21:22:09 +0200
> Cc: [email-masked], [email-masked]
> 
> 10 juli 2021 kl. 20.54 skrev Eli Zaretskii <[email-masked]>:
> 
> > The busy-wait loop can delay the sentinel call, but do you understand
> > why the sentinel isn't called once the loop is over?
> 
> Sort of; see previous discussion. In short: once the busy-wait loop is over, the TLS handshake succeeds immediately (because sufficient time has passed) but the logic isn't set up for this path and enters a state where the sentinel cannot be called.

That's my question: why cannot the sentinel be called in this case?
what prevents it from being called?  Apologies if I missed the
explanation, and could you please repeat it?