oliveiradan / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

68cdd9d Ticket 48311 - nunc-stans: Attempt to release connection that

1 file Authored by mreynolds 8 years ago, Committed by nhosoi 8 years ago,
    Ticket 48311 - nunc-stans: Attempt to release connection that
      is not acquired
    
    Bug Description:  ns_connection_post_io_or_closing() was not aquiring the
                      connection in the optimized build, which led to the connection
                      ref count getting out sequence.
    
    Fix Description   Do not call connection_acquire_nolock() inside a PR_ASSERT call.
    
                      Also changed other PR_ASSERTs to only be called if DEBUG is set
    
    https://fedorahosted.org/389/ticket/48311
    
    Reviewed by: nhosoi(Thanks!)
    
    (cherry picked from commit 97946bd212c5094a490d6a3429e0d5763ccd39ce)
    (cherry picked from commit a8d30b356f312b24132f4ced324a67601b7cfb9b)
    
        
file modified
+13 -1