[OpenSIPS-Devel] [PATCH] Fix spurious load balancer error when trying next destination

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Mar 9 15:31:58 CET 2011


Hi Chase,

Thanks for the report. This is fixed now on trunk and 1.6 branch.

Regards,
Bogdan

Chase Venters wrote:
> Greetings,
>     I found a glitch in OpenSIPS 1.6.3-tls which results in the
> load_balancer module emitting "failed to remove from profile" errors
> every time it tries to unset_profile(). unset_profile() only returns -1
> or 1, lb_data.c expects it to return 0 which it will never do. This
> patch prevents load_balancer from emitting the error message unless it
> actually failed.
>
> Thanks,
> Chase
>   
-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 28th February 2011
OpenSIPS solutions and "know-how"




More information about the Devel mailing list