From e279f595adc8b5b1bfcfe06e2ae7581618115474 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 11 May 2023 21:08:38 +0200 Subject: [PATCH] MINOR: httpclient: allow to disable the DNS resolvers of the httpclient httpclient.resolvers.disabled allow to disable completely the resolvers of the httpclient, prevents the creation of the "default" resolvers section, and does not insert the http do-resolve rule in the proxies. --- doc/configuration.txt | 7 +++++++ src/http_client.c | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index 1ccc91b04..aabbe8e2b 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1068,6 +1068,7 @@ The following keywords are supported in the "global" section : - h1-case-adjust-file - h2-workaround-bogus-websocket-clients - hard-stop-after + - httpclient.resolvers.disabled - httpclient.resolvers.id - httpclient.resolvers.prefer - httpclient.ssl.ca-file @@ -1681,6 +1682,12 @@ hard-stop-after