From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49449: 28: TLS connection never gets to "open" stage Date: Sat, 10 Jul 2021 21:54:43 +0300 Message-ID: <83sg0matjg.fsf@gnu.org> References: <87lf6h3nj0.fsf@gnus.org> <22155A42-4A01-4EF1-80BC-B9CDE31ED0B1@acm.org> <87o8bdt180.fsf@gnus.org> <875yxip21h.fsf@gnus.org> <875yxinm2e.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8262"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49449@debbugs.gnu.org, larsi@gnus.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 10 20:57:20 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2IAC-0001yg-8g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 20:57:20 +0200 Original-Received: from localhost ([::1]:54680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2IAB-0007MX-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 14:57:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2I8w-0005pY-UY for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 14:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2I8w-0003KK-Jj for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 14:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2I8w-0002yK-FH for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jul 2021 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49449 X-GNU-PR-Package: emacs Original-Received: via spool by 49449-submit@debbugs.gnu.org id=B49449.162594330411354 (code B ref 49449); Sat, 10 Jul 2021 18:56:02 +0000 Original-Received: (at 49449) by debbugs.gnu.org; 10 Jul 2021 18:55:04 +0000 Original-Received: from localhost ([127.0.0.1]:33469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2I7z-0002x3-Nm for submit@debbugs.gnu.org; Sat, 10 Jul 2021 14:55:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2I7y-0002wX-CU for 49449@debbugs.gnu.org; Sat, 10 Jul 2021 14:55:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42722) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2I7s-0002XC-JU; Sat, 10 Jul 2021 14:54:56 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4800 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2I7r-0003fa-Iy; Sat, 10 Jul 2021 14:54:56 -0400 In-Reply-To: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Sat, 10 Jul 2021 20:23:33 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209766 Archived-At: > From: Mattias EngdegÄrd > Date: Sat, 10 Jul 2021 20:23:33 +0200 > Cc: 49449@debbugs.gnu.org > > > 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?