Update redis task. Disable RESET.

This commit is contained in:
Xie Han
2024-08-30 20:42:22 +08:00
parent a197a527a1
commit 6ad50c7fee

View File

@@ -68,6 +68,7 @@ bool ComplexRedisTask::check_request()
if (this->req.get_command(command) &&
(strcasecmp(command.c_str(), "AUTH") == 0 ||
strcasecmp(command.c_str(), "SELECT") == 0 ||
strcasecmp(command.c_str(), "RESET") == 0 ||
strcasecmp(command.c_str(), "ASKING") == 0))
{
this->state = WFT_STATE_TASK_ERROR;