Ruediger Pluem wrote:
On 06/27/2007 05:09 PM, jean-frederic clere wrote:
Hi,
In mod_proxy_balancer.c there is the following code:
+++
/* Add the session route to request notes if present */
if (route) {
apr_table_setn(r->notes, "session-sticky", (*balancer)->sticky);
apr_table_setn(r->notes, "session-route", route);
/* Add session info to env. */
apr_table_setn(r->subprocess_env,
"BALANCER_SESSION_STICKY", (*balancer)->sticky);
apr_table_setn(r->subprocess_env,
"BALANCER_SESSION_ROUTE", route);
}
+++
"session-route" is SC_A_JVM_ROUTE in AJP but what are the purpose of the
others?
Does
http://httpd.apache.org/docs/2.2/en/mod/mod_proxy_balancer.html#environment
answer this question?
It does. Now I see the problem with the sticky/sticky_path logic: we are
not filling BALANCER_SESSION_STICKY with the right value when using
sticky_path.
Cheers
Jean-Frederic
Regards
Rüdiger