mirror of https://mirror.osredm.com/root/redis.git
![]() ### Problem A previous PR (https://github.com/redis/redis/pull/13932) fixed the TCP port issue in CLUSTER SLOTS, but it seems the handling of the TLS port was overlooked. There is this comment in the `addNodeToNodeReply` function in the `cluster.c` file: ```c /* Report TLS ports to TLS client, and report non-TLS port to non-TLS client. */ addReplyLongLong(c, clusterNodeClientPort(node, shouldReturnTlsInfo())); addReplyBulkCBuffer(c, clusterNodeGetName(node), CLUSTER_NAMELEN); ``` ### Fixed This PR fixes the TLS port issue and adds relevant tests. |
||
---|---|---|
.. | ||
announced-endpoints.tcl | ||
cli.tcl | ||
cluster-response-tls.tcl | ||
failure-marking.tcl | ||
hostnames.tcl | ||
human-announced-nodename.tcl | ||
links.tcl | ||
misc.tcl | ||
multi-slot-operations.tcl | ||
scripting.tcl | ||
sharded-pubsub.tcl | ||
slot-ownership.tcl |