• Valentino Geron's avatar
    Free current client asynchronously after user permissions changes (#13274) · 50569a90
    Valentino Geron authored
    The crash happens when the user that triggers the permission changes
    should be affected (and should be disconnected eventually).
    
    To handle such a scenario, we should use the
    `CLIENT_CLOSE_AFTER_COMMAND` flag.
    
    This commit encapsulates all the places that should be handled in the
    same way in `deauthenticateAndCloseClient`
    
    Also:
    * bugfix: during the ACL LOAD we ignore clients that are marked as
    `CLIENT MASTER`
    50569a90
acl.c 124 KB