Commit 8d4aee7
committed
Fix Jedis cluster connection lookup for IPv6 hosts.
We previously used our own mechanism to Render Host and Port causing that IPv6 addresses were enclosed in brackets.
Now we've aligned with Jedis' keying by using HostAndPort that just concatenates the host and port part.
Closes #30151 parent 252c1ba commit 8d4aee7
File tree
1 file changed
+9
-2
lines changed- src/main/java/org/springframework/data/redis/connection/jedis
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
764 | 766 | | |
765 | 767 | | |
766 | 768 | | |
| 769 | + | |
767 | 770 | | |
768 | 771 | | |
769 | 772 | | |
770 | | - | |
771 | | - | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
772 | 779 | | |
773 | 780 | | |
774 | 781 | | |
| |||
0 commit comments