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
@@ -170,16 +170,18 @@ By default, go-redis automatically sends the client library name and version dur
170
170
171
171
#### Disabling Identity Verification
172
172
173
-
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.
173
+
When connection identity verification is not required or needs to be explicitly disabled, a `DisableIdentity` configuration option exists.
174
+
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.
175
+
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.
174
176
175
-
To disable verification, set the `DisableIndentity` option to `true` in the Redis client options:
177
+
To disable verification, set the `DisableIdentity` option to `true` in the Redis client options:
176
178
177
179
```go
178
180
rdb:= redis.NewClient(&redis.Options{
179
181
Addr: "localhost:6379",
180
182
Password: "",
181
183
DB: 0,
182
-
DisableIndentity: true, // Disable set-info on connect
184
+
DisableIdentity: true, // Disable set-info on connect
0 commit comments