[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7428) libldap: use non-blocking IO during TLS handshake
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7428) libldap: use non-blocking IO during TLS handshake
- From: rhafer@suse.de
- Date: Fri, 16 Nov 2012 15:45:06 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
I just uploaded a slightly updated patch to:
ftp://ftp.openldap.org/incoming/rhafer-20121116-Use-non-blocking-IO-during-SSL-Handshake-ITS-7428.dif
The code is now only enabled when LDAP_USE_NON_BLOCKING_TLS is defined. Mainly
because NSS and GNUTLS show some issues with not-blocking sockets. See my mail
on -devel. Additionally the non-blocking handshake is only done if
LDAP_OPT_TIMEOUT is set. Previously I used LDAP_OPT_NETWORK_TIMEOUT but IMO
LDAP_OPT_TIMEOUT is the better choice.
On Thu, Nov 01, 2012 at 05:36:54PM +0000, rhafer@suse.de wrote:
> I've just uploaded:
>
> ftp://ftp.openldap.org/incoming/rhafer-Use-non-blocking-IO-during-SSL-Handshake-ITS-7428.dif
>
[..]
Ralf