b039876 Ticket 48311 -nunc-stans: Attempt to release connection that is not acquired

1 file Authored by William Brown 8 years ago, Committed by nhosoi 8 years ago,
    Ticket 48311  -nunc-stans: Attempt to release connection that is not acquired
    https://fedorahosted.org/389/ticket/48311
    
    Bug Description: DS with nunc stans enabled produces lots of messages like
    [13/Oct/2015:11:29:24 -0400] connection - conn=98 fd=161 Attempt to release
    connection that is not acquired
    
    FixDescription: From the original patch:
     * Do not call connection_acquire_nolock() inside a PR_ASSERT call.
     * Also changed other PR_ASSERTs to only be called if DEBUG is set
    
    This additionally guarantees the return codes of these functions since we have
    removed the PR_ASSERT that previously wrapped these function calls. If these
    assertions fail, we log to the error log in all cases.
    
    Author: wibrown
    
    Review by: mreynolds, nhosoi (Thanks!)
    
    (cherry picked from commit 49aaf98732d1e16dde3edb81272de8203aded21c)
    
        
file modified
+20 -3