• Lars Ingebrigtsen's avatar
    Implement asynchronous GnuTLS connections · 0f47153b
    Lars Ingebrigtsen authored
    * 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.
    0f47153b
gnutls.c 56.3 KB