Bug 34358 - loadbalance.method=[T]raffic not enbaled
Summary: loadbalance.method=[T]raffic not enbaled
Status: CLOSED FIXED
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: Common (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 20:51 UTC by Glenn Nielsen
Modified: 2014-02-17 13:56 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Nielsen 2005-04-07 20:51:33 UTC
I tried setting the lb worker method=T (Traffic) and found that it was
not being honored.

A review of the code found that the jk_lb_get_method() function is never
being called to set the lb worker->lbmethod.

Is this feature just not enabled yet?
Comment 1 Mladen Turk 2005-04-07 21:00:48 UTC
No it's not enabled.
I had a local copy, but it seems I did not commit the change.

Inside jk_lb_worker.c::init you will need to add:

p->method = jk_get_lb_method(props, p->s->name);

Comment 2 Glenn Nielsen 2005-04-09 17:38:57 UTC
Bug fixed in CVS.