mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
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:
parent
b61147fd2a
commit
b6e1e9ec8b
@ -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)
|
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) {
|
if (curproxy->cookie_name != NULL) {
|
||||||
ha_warning("cookie will be ignored for %s '%s' (needs 'mode http').\n",
|
ha_warning("cookie will be ignored for %s '%s' (needs 'mode http').\n",
|
||||||
proxy_type_str(curproxy), curproxy->id);
|
proxy_type_str(curproxy), curproxy->id);
|
||||||
|
Loading…
Reference in New Issue
Block a user