Skip to content

Conversation

@dongzerun
Copy link
Contributor

实现方式是在 proxy 增加 auth 认证,不透传到后端 redis,并且兼容现有非 auth 模式。请 review 下~~

  1. Config 增加 auth 字段,兼容认证和非认证模式
  2. Client 增加 _auth 字段
  3. 增加 AuthCommandParser,用于处理 AUTH 命令,每个 SpecialCommandParser 在 spawn_commands 时先判断是否需要认证,否则返回 NOAUTH_RSP 的 DirectCommandGroup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant