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.
This commit is contained in:
Aurelien DARRAGON 2023-11-16 17:07:09 +01:00 committed by Willy Tarreau
parent b61147fd2a
commit b6e1e9ec8b

View File

@ -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);