From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: wait_reading_process_ouput hangs in certain cases (w/ patches) Date: Tue, 13 Mar 2018 21:12:25 +0100 Message-ID: <87r2onhh06.fsf@gmail.com> References: <797d0e16-1bae-50c2-35f8-05489ffce935@binary-island.eu> <83tvugdiu5.fsf@gnu.org> <877er5s0xv.fsf@gmail.com> <4e4c72bb-295d-81e1-e4ed-cad256bca83c@binary-island.eu> <87zi3v9461.fsf@gmail.com> <87k1uy8x68.fsf@gmail.com> <6d1970af-8c5c-20ba-be09-0b9aa757d663@binary-island.eu> <13b3e003-d12b-33a7-3ebe-c07b017a7cc0@binary-island.eu> <87r2oow3uc.fsf@gmail.com> <2ab717c8-8d4f-ff34-04db-63b1c8b83dd4@yandex.ru> <87muzcasho.fsf@gmail.com> <4c9d1e14-440d-580c-ad93-ca3e6936c366@yandex.ru> <87bmfrc3rm.fsf@gmail.com> <83po47rgxl.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520971870 28631 195.159.176.226 (13 Mar 2018 20:11:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2018 20:11:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 13 21:11:06 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evqGH-0007KY-Qa for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2018 21:11:05 +0100 Original-Received: from localhost ([::1]:42566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evqIK-0003NI-P6 for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2018 16:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evqHg-0003Ma-EO for emacs-devel@gnu.org; Tue, 13 Mar 2018 16:12:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evqHd-0008Q3-8a for emacs-devel@gnu.org; Tue, 13 Mar 2018 16:12:32 -0400 Original-Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:45677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evqHd-0008Pc-0x; Tue, 13 Mar 2018 16:12:29 -0400 Original-Received: by mail-wr0-x22b.google.com with SMTP id h2so2144917wre.12; Tue, 13 Mar 2018 13:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=rEzDLAqa2+sYqfdQJ9e4QxQLT6S2Vo5OKPycU7lMMV4=; b=dK1m6SUMidRTee3juiz8scxO8Y11IEMKlC+Ann9kRzNsqPOpcMLreECqxX+GkhfLa2 /lJiVm0JTjUmj7lafoF6TevTYY6A19uR2AlsNbWzhqWpKamJuO/uKrKT98pK8r5R599P jmwQ+ezG1Yrxl9bc2d4BjQtAXN83i3uJyXTWlDYqx0BdYRm+ifn3z1w8apAeb1iiIhRS WfsDsTny5lz3il0xWHcOdENq4PfR0lpgpd61N6MTXwjMDXqpaYb2r4yyGH/zL4tf0p0Y OQ7SVy71fXPcnLy7wc2vmUe0AJ+E+z9KqwylSp+AYbBRDmQvoW/Lx/g2MGVc7jjKp/WK plsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version; bh=rEzDLAqa2+sYqfdQJ9e4QxQLT6S2Vo5OKPycU7lMMV4=; b=c03w6YxuinLhmH4fDlJ2870sDFKM7Uk2lM2bUMNaQLfba0cboaPQBYzEnVcLOl2XpQ LGTKCyh+EI/PXWzKAFsP7VLI0kiMv8Nj1KpHgg2Rp0bIFlnQuOdHFD5hbkvv+pMA1Tf3 uvP+T1r2xc5rh7upOgVxFkzmuHx/5BTlu8+Gf3FQw81KqbtvcOlho2JUyw3Rc64+Ay+R qn1vpYjWqE/14047EwOQk9Lm0X2e3iQ3y6A1aIZzrHXmOsunitlBCEFSSejRLdTTc7Ow mQsUurHqvLAwZIzgHlXJ3zqqKLJWQo5eUOcGXNSW9A0F+yO48vuyILJwASkT7xaUmngK LRXg== X-Gm-Message-State: AElRT7FIhcZlP6l3qGUw1ulf5IFNcN7oHrsUlX4tbxQbTlm66F5wcrft +OqSIdffvUz0rBAcOTKIW/N80Jxn X-Google-Smtp-Source: AG47ELvrQMZshP3tNIw7u0utUHWr1gf8RF5IK5GO0t4tskoKODEPaVWvpfoFizUibrqZU/p0igcvDg== X-Received: by 10.223.199.137 with SMTP id l9mr1727130wrg.6.1520971947494; Tue, 13 Mar 2018 13:12:27 -0700 (PDT) Original-Received: from rpluim-ubuntu (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id i127sm1192884wmf.33.2018.03.13.13.12.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 13:12:26 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <83po47rgxl.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Mar 2018 20:03:50 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:223706 Archived-At: Eli Zaretskii writes: >> It has to involve TLS and reading from TLS connections. I don't think >> we want emacs' regression tests to be making connections to servers on >> the internet. I've never tried to use 'make-network-process' to create >> a TLS server in emacs, but perhaps that could be used instead. > > Please take a look at gnutls-tests.el, it already does something like > that. We could use the same technique for this issue. Of course, the > inotify aspect might mean that the test can only be run on GNU/Linux. network-stream-tests.el uses the gnutls-serv executable to test TLS connections. It would be preferable if we didn't have to rely on the gnutls-cli package being installed (I don't install it normally). Quick testing shows that 'make-network-process' doesn't mind being asked to create a TLS server, but openssl s_client fails to connect to it. I'll investigate further, as using the builtin TLS is the way forward. Robert