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

RE: paged results gives invalid cookie (ITS#3089)

Let me add that, according to RFC2696:

   A client may have any number of outstanding search requests pending,
   any of which may have used the pagedResultsControl.  A server
   implementation which requires a limit on the number of outstanding
   paged search requests from a given client MAY either return
   unwillingToPerform when the client attempts to create a new paged
   search request, or age out an older result set.  If the server
   implementation ages out an older paged search request, it SHOULD
   return "unwilling to perform" if the client attempts to resume the
   paged search that was aged out.

currently slapd complies to this when more than one request
comes on the same connection; in that case, an alternative solution
could be to reject further operations with "unwilling ToPerform"
if they come in with an empty cookie and a (valid?) cookie is present
in the connection structure; currently, it silently ages out
the cookie stored in the connection structure, and starts a new one.

Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497