[Top][All Lists]

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

network process timeouts

From: Ted Zlatanov
Subject: network process timeouts
Date: Thu, 22 Sep 2016 08:22:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

This came up as a Gnus question. I don't think Emacs today supports
connection timeouts.

Once the network connection is attempted, the control passes down to the
networking layer, which could be GnuTLS. So the timeout parameter could
be set with gnutls_handshake_set_timeout() (for which we'll need to
modify gnutls.c) or with set_socket_option(SO_RCVTIMEO/SO_SNDTIMEO) in
process.c. At the Emacs Lisp level, it would be a new parameter for

The good news is that all packages, not just Gnus, would benefit from
that. So I think it's a good platform improvement.

If I've missed existing functionality to do network timeouts, please let
me know.


reply via email to

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