From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22789: 25.1.50; In last master build https connections stop working Date: Tue, 01 Mar 2016 16:17:13 +1100 Message-ID: <87vb56vkti.fsf@gnus.org> References: <864mcyo14y.fsf@Lenovo-PC.i-did-not-set--mail-host-address--so-tickle-me> <87d1rmxl65.fsf@gnus.org> <86povm6qeu.wl-j_l_domenech@yahoo.com> <83k2lugeym.fsf@gnu.org> <871t81wtyt.fsf@gnus.org> <87r3g1veqc.fsf@gnus.org> <86si0euizj.fsf@realize.ch> <871t7xhj7t.fsf@gnus.org> <86oab1vjm9.fsf@realize.ch> <86d1rhpvcq.fsf@realize.ch> <834mctbitq.fsf@gnu.org> <868u25p3m2.fsf@realize.ch> <83io18ahya.fsf@gnu.org> <86y4a3on6f.fsf@realize.ch> <87oaazg7fv.fsf@gnus.org> <86twkro0vr.fsf@realize.ch> <87mvqjgqqg.fsf@gnus.org> <86k2lnnlwy.fsf@realize.ch> <831t7u9826.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456809708 2295 80.91.229.3 (1 Mar 2016 05:21:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2016 05:21:48 +0000 (UTC) Cc: j_l_domenech@yahoo.com, Alain Schneble , 22789@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 01 06:21:37 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aackZ-0004SV-IA for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Mar 2016 06:21:35 +0100 Original-Received: from localhost ([::1]:40946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aackY-00043Q-Os for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Mar 2016 00:21:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aach8-00065e-Vb for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2016 00:18:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aach7-00070l-RG for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2016 00:18:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aach7-00070h-Nv for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2016 00:18:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aach7-00028x-Hj for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2016 00:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Mar 2016 05:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22789-submit@debbugs.gnu.org id=B22789.14568094738225 (code B ref 22789); Tue, 01 Mar 2016 05:18:01 +0000 Original-Received: (at 22789) by debbugs.gnu.org; 1 Mar 2016 05:17:53 +0000 Original-Received: from localhost ([127.0.0.1]:54605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aacgz-00028b-Ed for submit@debbugs.gnu.org; Tue, 01 Mar 2016 00:17:53 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60252) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aacgy-00028T-GL for 22789@debbugs.gnu.org; Tue, 01 Mar 2016 00:17:52 -0500 Original-Received: from 77.19.17.104.tmi.telenormobil.no ([77.19.17.104] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aacgT-000656-RA; Tue, 01 Mar 2016 06:17:22 +0100 In-Reply-To: <831t7u9826.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 01 Mar 2016 05:43:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aacgT-000656-RA MailScanner-NULL-Check: 1457414242.85311@Yu6dikDMjDAmeRHMikCiwg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114220 Archived-At: All the immediate ideas I have to ensure we have a timer that triggers `wait_reading_process_output' now and then when we have processes waiting for DNS or to complete TLS negotiation remind me too much of reference counting. There's always an off by one error or a race condition when counting. :-) But, basically, we have to have a way to say "I'm starting this stuff now, and the timer should continue to trigger every 50ms until I'm done". And then stop when they're all done... Perhaps it isn't as difficult as all that, since Emacs is pretty single threaded. That is, when calling getaddrinfo_a or try_negotiate, we'd have a function that would start the timer unless it's already running. And the timer itself could just look through the process list and see if any such processes remain, and then just commit sudoku if there are no such processes remaining. Now, if Emacs were multithreaded in many dimensions, this would be pretty error prone, but perhaps it's not the way Emacs is now? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no