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