RamaKrishna Narla wrote: > Hi Mark, > > I moved the code snippet that sets PRLDAP_OPT_IO_MAX_TIMEOUT to a > finite value, before to the ldap_simple_bind_s call, as per your > suggestion. But, there is no difference in output when > PRLDAP_OPT_IO_MAX_TIMEOUT is set to either 2000 ms or 1500 ms. > With 50 ms, ldap_simple_bind_s itself is failing, which we are not > interested in. Here, we are interested in testing the behavior of > asynchronous search operation. > Comments/Suggestions are welcome.
50ms is a very short timeout (too short, almost certainly, to be useful). In any case, it sounds like there may be a problem with the PRLDAP_OPT_IO_MAX_TIMEOUT option on Windows at least. Is anyone else using it there successfully? Ramakrishna -- can you run under a debugger and look for the problem? -Mark _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
