emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wait_reading_process_ouput hangs in certain cases (w/ patches)


From: Robert Pluim
Subject: Re: wait_reading_process_ouput hangs in certain cases (w/ patches)
Date: Tue, 13 Mar 2018 21:12:25 +0100

Eli Zaretskii <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]