]> git.eshelyaron.com Git - emacs.git/commit
Implement asynchronous GnuTLS connections
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jan 2016 00:34:45 +0000 (01:34 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jan 2016 00:34:45 +0000 (01:34 +0100)
commit0f47153b97ae31b82366a857ec2f937c1580b637
treea5e3bbc672c6d3f0ddcf11ae8c648eafa1a847e8
parentcc45809152ab596deb2115369116e573d43c219a
Implement asynchronous GnuTLS connections

* doc/misc/emacs-gnutls.texi (Help For Developers): Mention
the nowait parameter.

* lisp/net/gnutls.el (open-gnutls-stream): Allow asynchronous
connections with the new nowait parameter.

* lisp/net/network-stream.el (network-stream-open-tls): Pass
on :nowait to open-gnutls-stream.

* lisp/url/url-http.el (url-http): Don't overwrite the
sentinel created by open-gnutls-stream.

* src/gnutls.c (Fgnutls_mark_process): New function.

* src/process.c (send_process): Don't write to GnuTLS sockets that
haven't been initialised yed.

* src/process.h: New slot gnutls_wait_p.
doc/misc/emacs-gnutls.texi
lisp/net/gnutls.el
lisp/net/network-stream.el
lisp/url/url-http.el
src/gnutls.c
src/process.c
src/process.h