e1f8684 rpc: avoid possible recursion in create_connection

1 file Authored by stlaz 6 years ago, Committed by mbasti 6 years ago,
1 file changed. 74 lines added. 66 lines removed.
    rpc: avoid possible recursion in create_connection
    
    There was a recursion in RPCClient.create_connection() which under rare
    circumstances would not have an ending condition. This commit removes
    it and cleans up the code a bit as well.
    
    https://pagure.io/freeipa/issue/6796
    
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    
        
file modified
+74 -66