diff options
author | Alain Schneble <a.s@realize.ch> | 2016-03-10 16:43:09 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-03-10 16:43:09 +0200 |
commit | dda6201a972a344c3cf2f35e61511f2cd62670f2 (patch) | |
tree | 8969df713e781cfcd817027c126ed43066ff1144 /lisp/emacs-lisp/ert.el | |
parent | 8b31d850e1d5e4988905ecc9c4ed4587a3e8dcbd (diff) | |
download | emacs-dda6201a972a344c3cf2f35e61511f2cd62670f2.tar.gz emacs-dda6201a972a344c3cf2f35e61511f2cd62670f2.tar.bz2 emacs-dda6201a972a344c3cf2f35e61511f2cd62670f2.zip |
Fix asynchronous TLS connections on MS-Windows
* src/w32.c (sys_write): Don't switch the socket to blocking mode
if the connection attempt is in progress. Instead, return either
EWOULDBLOCK immediately if the connection is in progress, or the
error code produced by '_sys_wait_connect' if the connection
failed. Switching the socket to blocking mode was found to
interfere with GnuTLS handshake. (Bug#22789)
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
0 files changed, 0 insertions, 0 deletions