TSG-16126 修复Proxy Events日志中存在c2s和s2c有字节数为0的问题
This commit is contained in:
4
cache/src/tango_cache_client.cpp
vendored
4
cache/src/tango_cache_client.cpp
vendored
@@ -63,7 +63,7 @@ static int wired_load_balancer_lookup(WLB_handle_t wiredlb, const char *key, int
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
snprintf(host, hostsize, "%s:%u", chosen.ip_addr, chosen.data_port);
|
||||
snprintf(host, hostsize, "%s:%hu", chosen.ip_addr, chosen.data_port);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -714,7 +714,7 @@ int tango_cache_delete_object(struct tango_cache_instance *instance, struct futu
|
||||
struct tango_cache_ctx *tango_cache_multi_delete_prepare(struct tango_cache_instance *instance, struct future* f, char *objlist[], u_int32_t num)
|
||||
{
|
||||
struct tango_cache_ctx *ctx;
|
||||
char md5[48]={0}, content_md5[48];
|
||||
char md5[48]={0}, content_md5[64];
|
||||
|
||||
if(sessions_exceeds_limit(instance, OBJECT_IN_HOS))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user