]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
Revert "MINOR: proxy: report a warning for max_ka_queue in proxy_cfg_ensure_no_http()"
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 16 Nov 2023 16:07:09 +0000 (17:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 18 Nov 2023 10:16:21 +0000 (11:16 +0100)
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

index 93f1403dbec151984a738d5d96f73533eee8c27f..6a0096beee673b0f38793f6831e960f3238c4bc1 100644 (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);