TSG-16126 修复Proxy Events日志中存在c2s和s2c有字节数为0的问题

This commit is contained in:
fengweihao
2023-08-02 16:55:56 +08:00
parent 2451bd795c
commit e43b4954b5
9 changed files with 34 additions and 17 deletions

View File

@@ -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))
{