httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfcl...@gmail.com>
Subject Re: apr_table_setn in mod_proxy_balancer.c
Date Mon, 09 Jul 2007 14:26:55 GMT
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?

So I have to propose the attached patch to get 
http://svn.apache.org/viewvc?view=rev&rev=551935 and 
http://svn.apache.org/viewvc?view=rev&rev=550519 correct.,

Comments?

Cheers

Jean-Frederic

> 
> Regards
> 
> RĂ¼diger
> 
> 


Mime
View raw message