From b6e1e9ec8b30ffab982a7ccf098a0a3ac8b8fedb Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Thu, 16 Nov 2023 17:07:09 +0100 Subject: [PATCH] Revert "MINOR: proxy: report a warning for max_ka_queue in proxy_cfg_ensure_no_http()" This reverts commit 3934901 since it makes no sense to report a warning in this case given that max-keepalive-queue will also work with TCP backends. --- src/proxy.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/proxy.c b/src/proxy.c index 93f1403dbe..6a0096beee 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -1336,10 +1336,6 @@ struct server *findserver_unique_name(const struct proxy *px, const char *name, */ int proxy_cfg_ensure_no_http(struct proxy *curproxy) { - if (curproxy->max_ka_queue) { - ha_warning("max_ka_queue will be ignored for %s '%s' (needs 'mode http').\n", - proxy_type_str(curproxy), curproxy->id); - } if (curproxy->cookie_name != NULL) { ha_warning("cookie will be ignored for %s '%s' (needs 'mode http').\n", proxy_type_str(curproxy), curproxy->id); -- 2.47.2