Special thanks to Robert for finding and debugging the bug. The attachment (id=137787) is
a fix proposal based upon his analysis.
--noriko
------------------------------------------------------------------------
Summary: spurious search timeouts
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=204808
[Problem description and analysis by Robert]
Created an attachment (id=135312)
--> (
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=135312&action=...)
text and code snippits detailing the problem cause
[Fix proposal]
Created an attachment (id=137787)
--> (
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=137787&action=...)
cvs diffs cb_search.c, pblock.c, search.c
Files:
ldap/servers/plugins/chainingdb/cb_search.c
ldap/servers/slapd/pblock.c
ldap/servers/slapd/back-ldif/search.c
Changes:
1) cb_search.c: chainingdb_next_search_entry declared int for optime. replaced it with
time_t.
2) pblock.c: See attachment "135312: text and code snippits detailing the problem
cause"