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

(ITS#7698) Multiple Paged search requests on one connection fail



Full_Name: John Unsworth
Version: 2.4.34
OS: Windows 7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.139.153.176)


If I issue multiple paged requests on a single connection then when requesting
the second page for the first request I receive 'paged results cookie is
invalid'. I suspect from looking at the code that only a single paged request is
allowed to be active at once on a connection. Can someone confirm please.

parse_paged_cookie( Operation *op, SlapReply *rs )

	if ( ps->ps_cookieval.bv_len ) {
...
	} else {
		/* we're going to use ps_cookie */
		op->o_conn->c_pagedresults_state.ps_cookie = 0;

It seems to me that the cookie is held against the connection (o_conn) and not
the operation. Surely this is wrong?