Skip to content

Feature: support REDIRECT in the standalone client implementation #818

@rueian

Description

@rueian

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 valkey-io/valkey-doc#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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions