Project

General

Profile

Actions

Bug #990

closed

proxy-core.balancer should not be mandatory

Added by Anonymous about 18 years ago. Updated about 18 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_proxy
Target version:
-
ASK QUESTIONS IN Forums:

Description

It should not be mandatory to include proxy-core.balancer in the configuration file if mod_proxy_core is loaded, especially if you only have one back end. It should assume a default value.

If you omit it, the following error occurs:

/root/lighty/trunk/src/mod_proxy_core.c.298: (error) proxy.balance has to be on of 'round-robin', 'carp', 'sqf' got (null)

Actions #1

Updated by Anonymous about 18 years ago

I'd like to see a {{{proxy-core.balancer: none}}} as well, both for single-backend proxies and 'hidden' proxies controlled by X-Rewrite-Backend.

When I provide X-Rewrite-Backend: host123 and that host is down, I never want the balancer to attempt another backend. A 'none' balancer would ensure that.

-- Jeremy Kemper <jeremy

Actions #2

Updated by jan about 18 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r1529, we use round-robin as default. If there is only one backend available it is just ignored.

Actions

Also available in: Atom