Commit 514066f
committed
fix(core): avoid reverse DNS lookup in socket address formatting
- Replace socket_addr.to_string() calls with explicit format!() to prevent reverse DNS lookups
- Add socket_addr parameter to MultiplexedConnection::new_with_stream() for accurate address tracking
- Update address_string construction in PushManager initialization to use actual socket address when available
- Pass socket_addr through client connection flow to cluster async module
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>1 parent e7973b7 commit 514066f
File tree
3 files changed
+21
-3
lines changed- glide-core/redis-rs/redis/src
- aio
- cluster_async
3 files changed
+21
-3
lines changedLines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
605 | 606 | | |
606 | 607 | | |
607 | 608 | | |
| 609 | + | |
608 | 610 | | |
609 | 611 | | |
610 | 612 | | |
| |||
616 | 618 | | |
617 | 619 | | |
618 | 620 | | |
| 621 | + | |
619 | 622 | | |
620 | 623 | | |
621 | 624 | | |
| |||
626 | 629 | | |
627 | 630 | | |
628 | 631 | | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
629 | 639 | | |
630 | 640 | | |
631 | 641 | | |
632 | | - | |
| 642 | + | |
633 | 643 | | |
634 | 644 | | |
635 | 645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
448 | 449 | | |
449 | 450 | | |
450 | 451 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1290 | 1290 | | |
1291 | 1291 | | |
1292 | 1292 | | |
1293 | | - | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
1294 | 1296 | | |
1295 | 1297 | | |
1296 | 1298 | | |
| |||
2250 | 2252 | | |
2251 | 2253 | | |
2252 | 2254 | | |
2253 | | - | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
2254 | 2261 | | |
2255 | 2262 | | |
2256 | 2263 | | |
| |||
0 commit comments