]> git.eshelyaron.com Git - emacs.git/commit
Allow making TLS negotiation blocking
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 5 Mar 2016 16:04:23 +0000 (17:04 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 5 Mar 2016 16:04:34 +0000 (17:04 +0100)
commit21b509d4449bd33045e019dbcc90f5283434c07e
tree644fc1aa00a61458b1cb05456bdeac0a90e885fa
parent76b97fb0f9674fb0d0a888bc3aefc79a03faab70
Allow making TLS negotiation blocking

* lisp/net/gnutls.el (gnutls-negotiate): Make negotiation blocking.

* src/gnutls.c (Fgnutls_boot): Provide a new keyword,
:complete-negotiation, to specify that we want complete
negotiation even if the socket is non-blocking.
(gnutls_try_handshake): Complete negotiation if given that keyword.

* src/process.h (L): Added gnutls_complete_negotiation_p.
etc/NEWS
lisp/net/gnutls.el
src/gnutls.c
src/process.h