RamaKrishna Narla wrote:
> Hi Anton / Mark,
> 
> We have tried NSPR I/O with PRLDAP_OPT_IO_MAX_TIMEOUT set to 50ms and
> 2000ms (2 seconds). But ldap_result call still blocks in I/O for more
> than 2 minutes. Behavior wise, we didn't find any difference from the
> default I/O (ldap_init).
> ...

Please try setting the PRLDAP_OPT_IO_MAX_TIMEOUT before you send any 
LDAP requests.  Looking at the code in libprldap, I do not think the 
timeout is ever reset for existing TCP sockets.

-Mark
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to