-
- Downloads
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.
Showing
- libraries/libldap/ldap-int.h 1 addition, 1 deletionlibraries/libldap/ldap-int.h
- libraries/libldap/open.c 1 addition, 1 deletionlibraries/libldap/open.c
- libraries/libldap/os-ip.c 6 additions, 4 deletionslibraries/libldap/os-ip.c
- libraries/libldap/request.c 1 addition, 1 deletionlibraries/libldap/request.c
- libraries/libldap/tls2.c 102 additions, 3 deletionslibraries/libldap/tls2.c
Loading
Please register or sign in to comment