You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: handle network error on SETINFO
This fix addresses potential out of order responses as described in `CVE-2025-29923`
* fix: deprecate DisableIndentity and introduce DisableIdentity
Both options will work before V10. In v10 DisableIndentity will be dropped. The preferred flag to use is `DisableIdentity`.
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,16 +169,18 @@ By default, go-redis automatically sends the client library name and version dur
169
169
170
170
#### Disabling Identity Verification
171
171
172
-
When connection identity verification is not required or needs to be explicitly disabled, a `DisableIndentity` configuration option exists. In V10 of this library, `DisableIndentity` will become `DisableIdentity` in order to fix the associated typo.
172
+
When connection identity verification is not required or needs to be explicitly disabled, a `DisableIdentity` configuration option exists.
173
+
Initially there was a typo and the option was named `DisableIndentity` instead of `DisableIdentity`. The misspelled option is marked as Deprecated and will be removed in V10 of this library.
174
+
Although both options will work at the moment, the correct option is `DisableIdentity`. The deprecated option will be removed in V10 of this library, so please use the correct option name to avoid any issues.
173
175
174
-
To disable verification, set the `DisableIndentity` option to `true` in the Redis client options:
176
+
To disable verification, set the `DisableIdentity` option to `true` in the Redis client options:
175
177
176
178
```go
177
179
rdb:= redis.NewClient(&redis.Options{
178
180
Addr: "localhost:6379",
179
181
Password: "",
180
182
DB: 0,
181
-
DisableIndentity: true, // Disable set-info on connect
183
+
DisableIdentity: true, // Disable set-info on connect
0 commit comments