diff options
| author | fengweihao <[email protected]> | 2021-03-16 15:43:52 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2021-03-16 15:43:52 +0800 |
| commit | 981c2b6a5aa2a3fab7dbb68e622c30efada522b1 (patch) | |
| tree | fffc9811c4c8716fb0c05c91c235720d85096c6d /program | |
| parent | f2e9ba7d6f6f8810b9b4e60e31a6964eca62f9f7 (diff) | |
修复处理tfe保活请求时,未释放URI解析参数
Diffstat (limited to 'program')
| -rw-r--r-- | program/src/cert_session.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/src/cert_session.cpp b/program/src/cert_session.cpp index f7c999f..426eccc 100644 --- a/program/src/cert_session.cpp +++ b/program/src/cert_session.cpp @@ -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"); |
