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 22:31:25 +0300 Message-ID: <83pmvqarua.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> <83sg0matjg.fsf@gnu.org> <6FC06816-48AF-4853-92A9-B0E6BA424533@acm.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="7455"; 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 21:32:27 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 1m2IiA-0001ki-Da for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 21:32:26 +0200 Original-Received: from localhost ([::1]:45832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2Ii7-0005f2-VF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 15:32:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2Ihm-0005cT-Sk for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 15:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2Ihm-0002us-LG for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2Ihm-0003pk-3u for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 15:32: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 19:32: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.162594550314705 (code B ref 49449); Sat, 10 Jul 2021 19:32:02 +0000 Original-Received: (at 49449) by debbugs.gnu.org; 10 Jul 2021 19:31:43 +0000 Original-Received: from localhost ([127.0.0.1]:33514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2IhT-0003p7-38 for submit@debbugs.gnu.org; Sat, 10 Jul 2021 15:31:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:32890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2IhR-0003ou-7d for 49449@debbugs.gnu.org; Sat, 10 Jul 2021 15:31:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43542) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2IhM-0002e5-07; Sat, 10 Jul 2021 15:31:36 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3076 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 1m2IhL-0001OB-FA; Sat, 10 Jul 2021 15:31:35 -0400 In-Reply-To: <6FC06816-48AF-4853-92A9-B0E6BA424533@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Sat, 10 Jul 2021 21:22:09 +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:209771 Archived-At: > From: Mattias EngdegÄrd > Date: Sat, 10 Jul 2021 21:22:09 +0200 > Cc: larsi@gnus.org, 49449@debbugs.gnu.org > > 10 juli 2021 kl. 20.54 skrev Eli Zaretskii : > > > 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?