diff options
| author | Paul Eggert | 2016-08-03 01:54:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-08-03 01:55:49 -0700 |
| commit | 1a8d31123698ccf6f165e49fcfe16631d07a7aea (patch) | |
| tree | b8570bf5d4ea0f92f8c516f3ffc70d2beb61783d /src/bytecode.c | |
| parent | 64edd14ca9cf6d1b957316a9a547e482c9ba811b (diff) | |
| download | emacs-1a8d31123698ccf6f165e49fcfe16631d07a7aea.tar.gz emacs-1a8d31123698ccf6f165e49fcfe16631d07a7aea.zip | |
Fix non-blocking GnuTLS with slow connection
Although the problem is reported for OS X (Bug#23982), it seems to
be possible on other POSIXish platforms.
* src/gnutls.c (emacs_gnutls_nonblock_errno) [!WINDOWSNT]:
New function.
(emacs_gnutls_handshake) [!WINDOWSNT]:
Use it as the errno function, if non-blocking.
(Fgnutls_boot): Use GNUTLS_NONBLOCK if non-blocking.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions