Fix, errno was incorrect after SSL_read returned 0 bytes, caused slapd to
close the connection prematurely.
OpenLDAP 2.0.22 Engineering
Fixed slapd passwd modify referral bug
Fixed back-ldbm ordering presense index bug
- FIxed back-ldap modify bug (ITS#1547)
+ Fixed back-ldap modify bug (ITS#1547)
+ Fixed -lldap TLS errno bug
Updated slapd slurpd friendly code
Build environment
Fixed Mach cthreads detection (ITS#1554)
err = SSL_get_error( p->ssl, ret );
if (err == SSL_ERROR_WANT_READ ) {
sbiod->sbiod_sb->sb_trans_needs_read = 1;
-#ifdef WIN32
errno = EWOULDBLOCK;
-#endif
}
else
sbiod->sbiod_sb->sb_trans_needs_read = 0;
err = SSL_get_error( p->ssl, ret );
if (err == SSL_ERROR_WANT_WRITE ) {
sbiod->sbiod_sb->sb_trans_needs_write = 1;
-#ifdef WIN32
errno = EWOULDBLOCK;
-#endif
}
else
sbiod->sbiod_sb->sb_trans_needs_write = 0;