diff options
| author | Lars Ingebrigtsen | 2016-02-16 15:56:56 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-16 15:56:56 +1100 |
| commit | ac6e085cf6b26257cfe181f17828432d414cb3a6 (patch) | |
| tree | 9d382588ce869a2b816373e278b2805ffbb90f59 /src/coding.c | |
| parent | c43bb7f136ab9e9439a4b5c045040a12cbe8bda0 (diff) | |
| download | emacs-ac6e085cf6b26257cfe181f17828432d414cb3a6.tar.gz emacs-ac6e085cf6b26257cfe181f17828432d414cb3a6.zip | |
Implement asynch TLS negotiation
* src/gnutls.c (gnutls_try_handshake): Factor out into its own
function.
(emacs_gnutls_handshake): Use it.
(emacs_gnutls_read): Just return instead of retrying the handshake.
* src/process.c (finish_after_tls_connection): Factor out
into its own function.
(connect_network_socket): Use it.
(wait_reading_process_output): Retry TLS handshakes.
(wait_reading_process_output): Defer sentinel until TLS completes.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions