valkey-go icon indicating copy to clipboard operation
valkey-go copied to clipboard

Feature: support REDIRECT in the standalone client implementation

Open rueian opened this issue 8 months ago • 2 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

Can you assign this to me? @rueian

SoulPancake avatar Apr 04 '25 10:04 SoulPancake

sure

rueian avatar Apr 04 '25 18:04 rueian