RamaKrishna Narla wrote:
When we debugged the LDAP C SDK code, we felt that, the time limit specified in ldap_result call is getting applied only for poll operation. And, recv call is getting blocked for the data from Primary Directory Server on machine 1.
This is correct. You either need to use libprldap (which is what I would recommend) or install your own I/O callback functions that use non-blocking sockets. For libprldap, you can set the PRLDAP_OPT_IO_MAX_TIMEOUT option to limit the time the library will wait for I/O operations to finish.
-Mark Smith Pearl Crescent, LLC http://pearlcrescent.com/services/ _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
