summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-lib.el
diff options
context:
space:
mode:
authorAlain Schneble <a.s@realize.ch>2016-03-10 16:43:09 +0200
committerEli Zaretskii <eliz@gnu.org>2016-03-10 16:43:09 +0200
commitdda6201a972a344c3cf2f35e61511f2cd62670f2 (patch)
tree8969df713e781cfcd817027c126ed43066ff1144 /lisp/emacs-lisp/cl-lib.el
parent8b31d850e1d5e4988905ecc9c4ed4587a3e8dcbd (diff)
downloademacs-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/cl-lib.el')
0 files changed, 0 insertions, 0 deletions