支持https;适应版本跳跃;增加md5校验;

This commit is contained in:
linuxrc@163.com
2021-07-19 17:21:38 +08:00
parent 26b1a08500
commit 16a47fc07f
12 changed files with 291 additions and 78 deletions

View File

@@ -348,6 +348,7 @@ enum CONHASH_ERRCODE conhash_insert_bucket(struct consistent_hash *ch, const str
}
inner_bucket->bucket.bucket_id = bucket->bucket_id;
inner_bucket->bucket.tag = bucket->tag;
inner_bucket->bucket_index = bucket_index;
if(CONHASH_OK != (code=conhash_add_points(ch, inner_bucket, bucket->point_num)))
{