[OpenSIPS-Devel] SF.net SVN: opensips:[8425] branches/1.7/modules/load_balancer/lb_data.c
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Sep 30 12:58:16 CEST 2011
Revision: 8425
http://opensips.svn.sourceforge.net/opensips/?rev=8425&view=rev
Author: bogdan_iancu
Date: 2011-09-30 10:58:16 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
backport from trunk (rev #8424)
- fixed the size of the list of resources (when doing LB). Original description: when calling load_balance() with "resource1" and sometimes with "resource1;resource2" the call_res static array in do_load_balance is resized, and call_res_no is updated to two. When calling get_dst_load, call_res_no is passed, instead of rl->n, so get_dst_load is always performed on 2 resources, even when only one is passed.
Credits go to Walter Doekes
Closes bug #3414860
Revision Links:
--------------
http://opensips.svn.sourceforge.net/opensips/?rev=8424&view=rev
Modified Paths:
--------------
branches/1.7/modules/load_balancer/lb_data.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list