Plüm wrote:


1. You want to change sticky in struct proxy_balancer from
   const char *sticky

   to something like

   const char *sticky[MAX_ENTRIES]


Yes, although MAX_ENTRIES would be 3 for now
(cookie, path and env)


   Why is FOO stored in balancer->sticky-[2]? Is it because stickysession="FOO"
   is the 3rd occurrence of stickysession for this worker or is it because of
   the name "FOO"?


Because it's a third occurrence. This is to keep the compatibility with
current configurations users may have.
In case one is not present it will be skipped during the find_session_route.

7. What is the purpose of [E] [e]? Where will you search for 
balancer->sticky[2]?
   In r->subprocess_env?


Needs to be added. (a simple check for r->subprocess_env)

Regards,
Mladen.

Reply via email to