aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorAlain Schneble2016-03-10 16:43:09 +0200
committerEli Zaretskii2016-03-10 16:43:09 +0200
commitdda6201a972a344c3cf2f35e61511f2cd62670f2 (patch)
tree8969df713e781cfcd817027c126ed43066ff1144 /src/coding.c
parent8b31d850e1d5e4988905ecc9c4ed4587a3e8dcbd (diff)
downloademacs-dda6201a972a344c3cf2f35e61511f2cd62670f2.tar.gz
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 'src/coding.c')
0 files changed, 0 insertions, 0 deletions