Ticket #48192 - Individual abandoned simple paged results request has no chance to be cleaned up
Description: There was a small window that the search on the next page
after the previous page abandoned referred the cleaned up simple paged
object.
This patch introduces a pagedresults_is_abandoned helper function to
check the simple paged results was abandoned or not with some improvements
based upon the comments by rmeggins@redhat.com (Thank you!!):
1) adding locking when getting a simplepaged object in pagedresults_is_
abandoned_or_notavailable as well as in pagedresults_{un}lock.
2) sending "Simple Paged Results Search abandoned" if the previous page
with the same cookie in the same connection was abandoned.
https://fedorahosted.org/389/ticket/48192
Reviewed by rmeggins@redhat.com (Thank you, Rich!!)