[OpenSIPS-Devel] [opensips] load balancer: new parameter to lb_start/next (#662)
Sergey KHripchenko
notifications at github.com
Thu Oct 1 18:47:06 CEST 2015
Added optional parameter [dsts_cnt] to lb_start/next family of functions that holds a string containing an integer PV (pseudo-variable) where the total number of matching destinations (regardless of their capacity) will be stored.
This could be used to distinguish between 'no capacity' and 'no destinations left' situations upon a failure to find out an available destination.
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSIPS/opensips/pull/662
-- Commit Summary --
* Merge pull request #1 from OpenSIPS/master
* Merge pull request #2 from OpenSIPS/master
* Added optional parameter [dsts_cnt] to lb_start/next family of functions that holds a
-- File Changes --
M modules/load_balancer/README (26)
M modules/load_balancer/doc/load_balancer_admin.xml (36)
M modules/load_balancer/lb_data.c (22)
M modules/load_balancer/lb_data.h (4)
M modules/load_balancer/load_balancer.c (97)
-- Patch Links --
https://github.com/OpenSIPS/opensips/pull/662.patch
https://github.com/OpenSIPS/opensips/pull/662.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/662
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151001/0ca5f21d/attachment.htm>
More information about the Devel
mailing list