rueidis icon indicating copy to clipboard operation
rueidis copied to clipboard

Feature: support REDIRECT in the standalone client implementation

Open rueian opened this issue 9 months ago • 0 comments

The standalone Valkey 8 server can respond with REDIRECT messages when a client enables CLIENT CAPA redirect, therefore, our standalone client implementation should be able to follow them.

Related to https://github.com/valkey-io/valkey-doc/pull/164 and https://valkey.io/commands/client-capa/

TODO:

  • [ ] Add EnableRedirect to the StandaloneOption struct and send CLIENT CAPA redirect command when making connections.
  • [ ] Check if a response is a REDIRECT message and do the redirection in the standalone client implementation.

rueian avatar Mar 31 '25 21:03 rueian