[OpenSIPS-Devel] [opensips] Slot Based Taildrop algorithm for ratelimit (#728)

Răzvan Crainea notifications at github.com
Mon Jan 4 16:50:14 CET 2016


> @@ -911,6 +923,7 @@ void rl_rcv_bin(int packet_type, struct receive_info *ri, int server_id)
>  		/* set the destination's counter */
>  		destination = find_destination(*pipe, server_id);
>  		destination->counter = counter;
> +		destination->hist_counter = hist_counter;

why not using the counter, but the hist_counter instead?

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/728/files#r48743717
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160104/d6505534/attachment.htm>


More information about the Devel mailing list