Re: Block in ldap_result call, even after specifying some finite time limit
Mark Smith <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <[email protected]> |
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