修复处理tfe保活请求时,未释放URI解析参数

This commit is contained in:
fengweihao
2021-03-16 15:43:52 +08:00
parent f2e9ba7d6f
commit 981c2b6a5a

View File

@@ -1570,6 +1570,7 @@ static int http_decode_uri(struct evhttp_request *evh_req, struct tfe_http_reque
const char *health_check = evhttp_find_header(&params, "health_check");
if (health_check)
{
evhttp_clear_headers(&params);
return -2;
}
const char *keyring_id = evhttp_find_header(&params, "keyring_id");