valkey-io / valkey-go

A fast Golang Valkey client that supports Client Side Caching and Auto Pipelining.
Apache License 2.0
157 stars 10 forks source link

Fix IPv6 Handing in IsMoved() and IsAsk() #3

Closed rueian closed 6 months ago

rueian commented 6 months ago

go-redis recently fixed IPv6 handling issues of Redis Cluster at https://github.com/redis/go-redis/pull/2981. The issue also exists in valkey-go's IsMoved() and IsAsk() functions. We should fix that too.

rueian commented 6 months ago

Fixed by https://github.com/valkey-io/valkey-go/commit/83d44936ef61fbe16d96bc60304ccc60aa6b02a4