ssl_svc_free_client_st() 中更新 proto_err_cli_cnt 的值

This commit is contained in:
luwenpeng
2019-08-26 14:56:47 +08:00
parent f589f0e433
commit 90e6ec4fdc

View File

@@ -58,6 +58,12 @@ static void ssl_svc_free_client_st(void * data)
{
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);
return;
}