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

Re: ldap_search blocks after several hundred consequtive searches without ldap_result being called (ITS#2389)

Howard Chu wrote:
> It looks like the fix for this on the server will be to drop the connection when
> the client has too many outstanding requests. Fair warning...

These would be "outstanding requests which responding too would block the 
server since the client hasn't read enough results yet," right?  I've 
modified the code to always call ldap_result as many times as it can before 
calling ldap_search, so hopefully we won't hit the limit again.  I hope it 
doesn't mean "drop the connection because there's just too many outstanding 
requests, but the pipe *is* clear. ;)

Thanks for the warning, and thanks for the conference!

Cheers - Rand