cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

c8e7fc5 Ticket 48930 - Paged result search can hang the server

Authored and Committed by mreynolds 7 years ago
    Ticket 48930 - Paged result search can hang the server
    
    Bug Description:  If a pages result has sent all its entry it's possible that
                      the connection lock/monitor is not exited.  This can lead
                      to a deadlock when a new connection comes in.
    
    Fix Description:  Move the monitor exit to the proper location, and also set
                      the result to success if all the entries have been sent.
    
    https://fedorahosted.org/389/ticket/48930
    
    Reviewed by: nhosoi(Thanks!)
    
    (cherry picked from commit bff1dd433f5de807ded1114e5961d66e2c0494e2)