A ref change was pushed to the OpenLDAP (openldap.git) repository. It will be available in the public mirror shortly.
The branch, master has been updated via c728ebf586af778dc2927513097dbfc433b267df (commit) from be781ab8081d7e9ad1eb89da81077c7f936a5604 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit c728ebf586af778dc2927513097dbfc433b267df Author: Ralf Haferkamp ralf@openldap.org Date: Wed Nov 21 13:41:40 2012 +0100
ITS#7428 Use non-blocking IO during SSL Handshake
If a timeout is set, perform the SSL Handshake using non-blocking IO. This way we can timeout if SSL Handshake gets stuck for whatever reason.
This code is currently hidden behind #ifdefs (LDAP_USE_NON_BLOCKING_TLS) and disabled by default as there seem to be some problems using NON-blocking I/O during the TLS Handshake when linking against NSS (either a bug in NSS itself of in tls_m.c, see discussion on -devel)
This patch adds an additional parameter to ldap_int_poll() in order to indicate if we're waiting in order to perform a read or write operation.
-----------------------------------------------------------------------
Summary of changes: libraries/libldap/ldap-int.h | 2 +- libraries/libldap/open.c | 2 +- libraries/libldap/os-ip.c | 10 ++-- libraries/libldap/request.c | 2 +- libraries/libldap/tls2.c | 105 ++++++++++++++++++++++++++++++++++++++++- 5 files changed, 111 insertions(+), 10 deletions(-)