修改 doh Maat_clean_status 的执行时机;修改 ssl service debug 日志
This commit is contained in:
@@ -371,9 +371,6 @@ static void doh_ctx_free(struct doh_ctx *ctx)
|
||||
ctx->doh_req = NULL;
|
||||
}
|
||||
|
||||
Maat_clean_status(&(ctx->scan_mid));
|
||||
ctx->scan_mid = NULL;
|
||||
|
||||
if (ctx->opts_num)
|
||||
{
|
||||
free(ctx->opts);
|
||||
@@ -479,6 +476,8 @@ static void doh_process_req(const struct tfe_stream *stream, const struct tfe_ht
|
||||
}
|
||||
|
||||
doh_maat_scan(stream, session, ctx, (char *)ctx->doh_req->query_question.qname, ctx->doh_req->query_question.qtype);
|
||||
Maat_clean_status(&(ctx->scan_mid));
|
||||
ctx->scan_mid = NULL;
|
||||
if (!ctx->opts_num)
|
||||
{
|
||||
TFE_LOG_INFO(g_doh_conf->local_logger, "%s Doh no hit answer type, PASSTHROUGH", ctx->addr_string);
|
||||
|
||||
Reference in New Issue
Block a user