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

Re: (ITS#5114) pcache cache results for searches that hit size/timelimit

ando@sys-net.it wrote:

> I'm getting inclined towards handling this case like a regular search,
> only replacing LDAP_SUCCESS with LDAP_SIZELIMIT_EXCEEDED.  In fact, it
> would be more appropriate to make this request not cacheable, because
> there's no guarantee the server would return the same entries for
> repeated searches, but for caching purposes this shouldn't really matter.


here's a patch that implements the above.


Does it harmonize with your improvements?

Cheers, p.

Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it