From: Aurelien DARRAGON Date: Thu, 16 Nov 2023 16:07:09 +0000 (+0100) Subject: Revert "MINOR: proxy: report a warning for max_ka_queue in proxy_cfg_ensure_no_http()" X-Git-Tag: v2.9-dev10~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6e1e9ec8b30ffab982a7ccf098a0a3ac8b8fedb;p=thirdparty%2Fhaproxy.git 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. --- 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);