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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 10 Jul 2021 21:54:43 +0300

> From: Mattias Engdegård <[email-masked]>
> Date: Sat, 10 Jul 2021 20:23:33 +0200
> Cc: [email-masked]
> 
> >  The problem only seems to occur on Macos, so
> > it'd be interesting to find out why it doesn't happen on Linux...
> 
> Now I've had access to a Linux machine, and it seems that it works because it has getaddrinfo_a (async DNS lookup) so the path taken is different. If HAVE_GETADDRINFO_A is #undef'ed, it seems to behave like macOS and fail in the same way if busy-waiting for one second after the url-http call. Can you confirm?

The busy-wait loop can delay the sentinel call, but do you understand
why the sentinel isn't called once the loop is over?