[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7428) libldap: use non-blocking IO during TLS handshake



Full_Name: Ralf Haferkamp
Version: HEAD
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (92.252.80.202)


Currently libldap is using blocking IO when performing the SSL handshake for
ldaps:// connections (and when performing the StartTLS operation). The can lead
to the client blocking forever in the ssl lib (in SSL_connect in case of
openssl) if e.g. the server for whatever reason stops responding. It would be
very helpful if libldap would use non-blocking IO during the handshake at least
when LDAP_OPT_NETWORK_TIMEOUT (or LDAP_OPT_TIMEOUT?) are set.