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

(-)modules/proxy/mod_proxy_balancer.c (-1 / +11 lines)
Lines 193-199 Link Here
193
    *route = get_path_param(r->pool, *url, balancer->sticky);
193
    *route = get_path_param(r->pool, *url, balancer->sticky);
194
    if (!*route)
194
    if (!*route)
195
        *route = get_cookie_param(r, balancer->sticky);
195
        *route = get_cookie_param(r, balancer->sticky);
196
    if (*route) {
196
    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
197
                            "proxy: BALANCER: Found value %s for "
198
                            "stickysession %s", *route, balancer->sticky);
199
    /*
200
     * If we found a value for sticksession, find the first '.' within.
201
     * Everything after '.' (if present) is our route.
202
     */
203
    if ((*route) && ((*route = strchr(*route, '.')) != NULL )) (*route)++;
204
    if ((*route) && (**route)) {
205
        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
206
                                  "proxy: BALANCER: Found route %s", *route);
197
        /* We have a route in path or in cookie
207
        /* We have a route in path or in cookie
198
         * Find the worker that has this route defined.
208
         * Find the worker that has this route defined.
199
         */
209
         */

Return to bug 36507