490830f Ticket #48192 - Individual abandoned simple paged results request has no chance to be cleaned up

Authored and Committed by nhosoi 8 years ago
    Ticket #48192 - Individual abandoned simple paged results request has no chance to be cleaned up
    
    Description: When allocating a slot in simple paged results array stashed
    in a connection in pagedresults_parse_control_value, a new code is added
    to scan the array if the existing slot is timed out or not.  If it is, the
    slot is released and a search results is released if it is attached.
    
    Also, if a request is abandoned, instead of returning a valid cookie, it
    changed to return an empty cookie to inform the client the request was not
    successfully completed.
    
    https://fedorahosted.org/389/ticket/48192
    
    Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
    
    (cherry picked from commit f3c3125fc9fd4dc1cbd41027d6442cb525efd014)
    (cherry picked from commit 97c707df4e11936202310e99bcf5f45d15b49f0f)
    
        
file modified
+18 -23