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

Chase Venters chase at exceleron.com
Tue Mar 8 21:17:02 CET 2011


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opensips-1.6.3-tls-silence-spurious-load_balancer-dlgprofile-error.patch
URL: <http://lists.opensips.org/pipermail/devel/attachments/20110308/af75a19a/attachment.txt>


More information about the Devel mailing list