Re: Block in ldap_result call, even after specifying some finite time limit

Anton Bobrov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
you gonna have to elaborate more on this but my guess is that you
are actually talking about PR_Recv() case. if so, are you setting
prldap_set_session_option / PRLDAP_OPT_IO_MAX_TIMEOUT correctly ?
what CSDK version is that and what NSPR and perhaps NSS ver used?

RamaKrishna Narla wrote:
> Hi All,
> 
> We are making ldap_result call with 1 second as allowed timeout in it.
> It seems like LDAP C SDK code is using this time limit, only during
> the poll, but not during recv call. recv call seem to be using
> blocking socket internally. Is there any way to configure it to use a
> non-blocking socket?
> 
> Thanks,
> Ramakrishna.
> 
> _______________________________________________
> dev-tech-ldap mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-ldap
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.