View | Details | Raw Unified | Return to bug 62044
Collapse All | Expand All

(-)modules/proxy/mod_proxy_balancer.c (-3 / +8 lines)
Lines 776-781 static int balancer_post_config(apr_pool_t *pconf, Link Here
776
    while (s) {
776
    while (s) {
777
        int i,j;
777
        int i,j;
778
        char *id;
778
        char *id;
779
        char *balancer_id;
779
        proxy_balancer *balancer;
780
        proxy_balancer *balancer;
780
        ap_slotmem_type_t type;
781
        ap_slotmem_type_t type;
781
        void *sconf = s->module_config;
782
        void *sconf = s->module_config;
Lines 875-887 static int balancer_post_config(apr_pool_t *pconf, Link Here
875
                return !OK;
876
                return !OK;
876
            }
877
            }
877
878
879
            balancer_id = apr_psprintf(ptemp, "%s.%s",
880
                                       conf->id, balancer->s->sname);
881
878
            /* create slotmem slots for workers */
882
            /* create slotmem slots for workers */
879
            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01184) "Doing workers create: %s (%s), %d, %d [%u]",
883
            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01184)
880
                         balancer->s->name, balancer->s->sname,
884
                         "Doing workers create: %s (%s), %d, %d [%u]",
885
                         balancer->s->name, balancer_id,
881
                         (int)ALIGNED_PROXY_WORKER_SHARED_SIZE,
886
                         (int)ALIGNED_PROXY_WORKER_SHARED_SIZE,
882
                         (int)balancer->max_workers, i);
887
                         (int)balancer->max_workers, i);
883
888
884
            rv = storage->create(&new, balancer->s->sname,
889
            rv = storage->create(&new, balancer_id,
885
                                 ALIGNED_PROXY_WORKER_SHARED_SIZE,
890
                                 ALIGNED_PROXY_WORKER_SHARED_SIZE,
886
                                 balancer->max_workers, type, pconf);
891
                                 balancer->max_workers, type, pconf);
887
            if (rv != APR_SUCCESS) {
892
            if (rv != APR_SUCCESS) {

Return to bug 62044