all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* network process timeouts
@ 2016-09-22 12:22 Ted Zlatanov
  2016-09-22 12:54 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2016-09-22 12:22 UTC (permalink / raw)
  To: emacs-devel

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
`make-network-process'.

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.

Thanks
Ted




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-23 13:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22 12:22 network process timeouts Ted Zlatanov
2016-09-22 12:54 ` Lars Ingebrigtsen
2016-09-22 19:24   ` Ted Zlatanov
2016-09-22 21:51     ` Lars Ingebrigtsen
2016-09-23 13:03       ` Ted Zlatanov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.