Re: ldap_simple_bind call blocks with SSL connection, when DS hangs

2007-01-08 Thread Nelson B
RamaKrishna, This is apparently an LDAP library issue. The LDAP library has opened a BLOCKING socket, and is using it with an infinite timeout. The SSL library is handling it exactly as it should, given that it has been told to use a blocking socket with no timeout. -- Nelson B ___

ldap_simple_bind call blocks with SSL connection, when DS hangs

2007-01-08 Thread RamaKrishna Narla
Hi All, We are using Mozilla LDAP C SDK 5.12 in our application. We are currently switching from synchronous calls to asynchronous calls, so that even when Directory Server (DS) hangs our servers do not hang. To simulate DS hang, we hooked up a small plugin (delete pre-operation) into iPlanet DS.