ffd7536 sbus: terminated active ongoing request when reconnecting

4 files Authored by pbrezina 5 years ago, Committed by jhrozek 5 years ago,
    sbus: terminated active ongoing request when reconnecting
    
    Connection to the remote dbus server was lost. If there are any outgoing
    requests they are waiting for a pretty long timeout. During this timeout
    we kept chaining even new requests that come after successful reconnection
    and these request were waiting for the timeout to ocurr as well because
    they were chain to request that started before reconnection.
    
    Now, we terminated all active outgoing request that have a key associated
    so we can immediately start sending new requests.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3907
    
    Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
    
        
file modified
+10 -0