ssl_svc_free_client_st() 中更新 proto_err_cli_cnt 的值
This commit is contained in:
@@ -58,6 +58,12 @@ static void ssl_svc_free_client_st(void * data)
|
|||||||
{
|
{
|
||||||
svc_cache->stat.pinning_cli_cnt--;
|
svc_cache->stat.pinning_cli_cnt--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p->protocol_error_count >= svc_cache->fail_as_proto_err_count)
|
||||||
|
{
|
||||||
|
svc_cache->stat.proto_err_cli_cnt--;
|
||||||
|
}
|
||||||
|
|
||||||
free(p);
|
free(p);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user