[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Search timeout for result.c (ITS#2601)



This implementation is problematic as it overrides
the timeout parameter of all ldap_result(3) calls
when timeout was NULL.  A more appropriate approach
would have LDAP_OPT_TIMEOUT set a timeout pointer
in the session handle and then have all internal
ldap_result calls use that pointer instead of NULL.

Kurt

At 03:58 PM 6/16/2003, kingsnoopy7@yahoo.com wrote:
>Full_Name: Dave Snoopy
>Version: 2.1.21
>OS: FreeBSD
>URL: ftp://ftp.openldap.org/incoming/dave-snoopy-030616.patch
>Submission from: (NULL) (66.121.131.203)
>
>
>The LDAP_OPT_TIMEOUT option is currently ignored in the LDAP client libraries.
>This patch gives life to the timeout, at least for searches.