修复处理tfe保活请求时,未释放URI解析参数
This commit is contained in:
@@ -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(¶ms, "health_check");
|
||||
if (health_check)
|
||||
{
|
||||
evhttp_clear_headers(¶ms);
|
||||
return -2;
|
||||
}
|
||||
const char *keyring_id = evhttp_find_header(¶ms, "keyring_id");
|
||||
|
||||
Reference in New Issue
Block a user