Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix writing replies to async-closed clients
For some commands such as ACL subcommands, we may firstly close the client that is being used and want to write reply to it secondly, but we actully can't write reply to it if we close it even aync. So we add a flag 'CLIENT_CLOSE_AFTER_COMMAND' to mark the client, this flag means we will close the client after executing commands and writing entire reply, so that we can write reply to the client when execute commands and will close it later if it is set to this flag.
- Loading branch information
Showing
5 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters