a8d30b3 Ticket 48311 - nunc-stans: Attempt to release connection that

Authored and Committed by mreynolds 3 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)
    
        
file modified
+13 -1