diff options
| author | Lars Magne Ingebrigtsen | 2016-03-05 17:04:23 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2016-03-05 17:04:34 +0100 |
| commit | 21b509d4449bd33045e019dbcc90f5283434c07e (patch) | |
| tree | 644fc1aa00a61458b1cb05456bdeac0a90e885fa /etc | |
| parent | 76b97fb0f9674fb0d0a888bc3aefc79a03faab70 (diff) | |
| download | emacs-21b509d4449bd33045e019dbcc90f5283434c07e.tar.gz emacs-21b509d4449bd33045e019dbcc90f5283434c07e.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -150,6 +150,10 @@ If no insurmountable problems before next release, it can stay that way. | |||
| 150 | ** `ert-with-function-mocked' of 'ert-x package allows mocking of functions | 150 | ** `ert-with-function-mocked' of 'ert-x package allows mocking of functions |
| 151 | in unit tests. | 151 | in unit tests. |
| 152 | 152 | ||
| 153 | --- | ||
| 154 | ** `gnutls-boot' now takes a parameter :complete-negotiation that says | ||
| 155 | that negotiation should complete even on non-blocking sockets. | ||
| 156 | |||
| 153 | +++ | 157 | +++ |
| 154 | ** New functions `window-pixel-width-before-size-change' and | 158 | ** New functions `window-pixel-width-before-size-change' and |
| 155 | `window-pixel-height-before-size-change' allow to detect which window | 159 | `window-pixel-height-before-size-change' allow to detect which window |