httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Brian" <Brian.Ak...@turner.com>
Subject Re: Config Bug in proxy_balancer?
Date Wed, 22 Mar 2006 17:32:17 GMT


On 3/22/06 11:39 AM, "Sander Temme" <sctemme@apache.org> wrote:

> Looks like something doesn't get inherited. Have a peek at the merge
> functions for the structure(s) that affect this behaviour.
> 
> S.

Looks like it may be in add_pass where it calls ap_proxy_get_balancer:

 if (strncasecmp(r, "balancer:", 9) == 0) {
        proxy_balancer *balancer = ap_proxy_get_balancer(cmd->pool, conf,
r);
        if (!balancer) {
            const char *err = ap_proxy_add_balancer(&balancer,
                                                    cmd->pool,
                                                    conf, r);
            if (err)
                return apr_pstrcat(cmd->temp_pool, "ProxyPass ", err, NULL);
        }

get_balancer looks to return Null. So conf is somehow not merged correctly?

Should conf->balancers be global, rather than per server?

-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies 


Mime
View raw message