• Lars Magne Ingebrigtsen's avatar
    Allow making TLS negotiation blocking · 21b509d4
    Lars Magne Ingebrigtsen authored
    * 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.
    21b509d4
gnutls.c 57.6 KB