mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
vtls: fix mbedtls multi non blocking handshake.
When using multi, mbedtls handshake is in non blocking mode. vtls must set wait for read/write flags for the socket. Closes #1223
This commit is contained in:
parent
6b7616690e
commit
06b1197eeb
@ -485,8 +485,9 @@ void Curl_ssl_close_all(struct Curl_easy *data)
|
||||
}
|
||||
|
||||
#if defined(USE_OPENSSL) || defined(USE_GNUTLS) || defined(USE_SCHANNEL) || \
|
||||
defined(USE_DARWINSSL) || defined(USE_NSS)
|
||||
/* This function is for OpenSSL, GnuTLS, darwinssl, and schannel only. */
|
||||
defined(USE_DARWINSSL) || defined(USE_NSS) || defined(USE_MBEDTLS)
|
||||
/* This function is for OpenSSL, GnuTLS, darwinssl, mbedtls, and schannel
|
||||
only. */
|
||||
int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
|
||||
int numsocks)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user