[389-devel] Please review: [Bug 567282] server can not abandon searchRequest of "simple paged results"

Noriko Hosoi nhosoi at redhat.com
Wed Nov 3 19:01:20 UTC 2010



https://bugzilla.redhat.com/show_bug.cgi?id=567282

https://bugzilla.redhat.com/attachment.cgi?id=457550&action=edit
https://bugzilla.redhat.com/attachment.cgi?id=457550&action=diff

Description: Simple Paged Results search keeps the connection
per paging, but not an operation.  When an abandon request is
issued, the operation referred by the request has already finished.
This patch introduces pagedresults_cleanup function to check
whether the connection is for the simple paged results or not, and
if it is, the simple paged results is cleaned up.  If it is not,
pagedresults_cleanup does nothing.  The function is called from
do_abandon as well as from connection_cleanup.

Files:
  ldap/servers/slapd/abandon.c
  ldap/servers/slapd/connection.c
  ldap/servers/slapd/opshared.c
  ldap/servers/slapd/pagedresults.c
  ldap/servers/slapd/proto-slap.h

Thanks,
--noriko



More information about the 389-devel mailing list