From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: /srv/bzr/emacs/trunk r106464: Fix asynchrounous GnuTLS socket handling on some versions of the GnuTLS library. Date: Mon, 21 Nov 2011 15:27:19 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321907251 29895 80.91.229.12 (21 Nov 2011 20:27:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2011 20:27:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 21 21:27:26 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSaSa-0002DE-Vb for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 21:27:25 +0100 Original-Received: from localhost ([::1]:41608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSaSa-0001d8-HX for ged-emacs-devel@m.gmane.org; Mon, 21 Nov 2011 15:27:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSaSY-0001cr-8F for emacs-devel@gnu.org; Mon, 21 Nov 2011 15:27:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSaSW-0003fJ-Pd for emacs-devel@gnu.org; Mon, 21 Nov 2011 15:27:22 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:27095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSaSW-0003f3-EX for emacs-devel@gnu.org; Mon, 21 Nov 2011 15:27:20 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALizyk5FxIAT/2dsb2JhbABDqjyBBoFyAQEEAVYjEAs0BwsUGA0kiBa0YoJWh0EEiBqZeoRL X-IronPort-AV: E=Sophos;i="4.69,548,1315195200"; d="scan'208";a="148909537" Original-Received: from 69-196-128-19.dsl.teksavvy.com (HELO pastel.home) ([69.196.128.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 21 Nov 2011 15:27:19 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 540A158CB6; Mon, 21 Nov 2011 15:27:19 -0500 (EST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 21 Nov 2011 20:19:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146118 Archived-At: >> Some versions of the GnuTLS library doesn't respons to poll reliably. >> Work around this by checking all GnuTLS sockets explicitly from the >> idle loop. > As previously discussed, I've now applied the patch. If anybody has a > less icky way of dealing with this issue, that would be nice, though. Also if the code could be conditionalized on the problematic gnutls version (or at least include a comment explaining which gnutls versions are affected or a link to a gnutls bug-report about it, or something) that would be *really* handy, so that 10 years from now we can decide whether it can be removed. Stefan