File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -2136,26 +2136,6 @@ int writeNodenamePingExt(clusterMsgPingExt **cursor) {
21362136 return extension_size ;
21372137}
21382138
2139- /* Write the nodename ping extension at the start of the cursor. This function
2140- * will update the cursor to point to the end of the written extension and
2141- * will return the amount of bytes written. */
2142- int writeNodenamePingExt (clusterMsgPingExt * * cursor ) {
2143- /* If nodename is not set, we don't send this extension */
2144- if (sdslen (myself -> nodename ) == 0 ) return 0 ;
2145-
2146- /* Add the nodename information at the extension cursor */
2147- clusterMsgPingExtNodename * ext = & (* cursor )-> ext [0 ].nodename ;
2148- memcpy (ext -> nodename , myself -> nodename , sdslen (myself -> nodename ));
2149- uint32_t extension_size = getNodenamePingExtSize ();
2150-
2151- /* Move the write cursor */
2152- (* cursor )-> type = CLUSTERMSG_EXT_TYPE_NODENAME ;
2153- (* cursor )-> length = htonl (extension_size );
2154- /* Make sure the string is NULL terminated by adding 1 */
2155- * cursor = (clusterMsgPingExt * ) (ext -> nodename + EIGHT_BYTE_ALIGN (sdslen (myself -> nodename ) + 1 ));
2156- return extension_size ;
2157- }
2158-
21592139/* We previously validated the extensions, so this function just needs to
21602140 * handle the extensions. */
21612141void clusterProcessPingExtensions (clusterMsg * hdr , clusterLink * link ) {
Original file line number Diff line number Diff line change @@ -2609,7 +2609,6 @@ int updateClusterNodename(const char **err) {
26092609 return 1 ;
26102610}
26112611
2612- #ifdef USE_OPENSSL
26132612static int applyTlsCfg (const char * * err ) {
26142613 UNUSED (err );
26152614
You can’t perform that action at this time.
0 commit comments