[OpenSIPS-Devel] [OpenSIPS/opensips] b29d7a: ratelimit: always publish the previous counter

Razvan Crainea razvan at opensips.org
Fri Dec 4 17:02:55 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b29d7aa1a66c2093a48ac2702b4dac8f5c3cd1d0
      https://github.com/OpenSIPS/opensips/commit/b29d7aa1a66c2093a48ac2702b4dac8f5c3cd1d0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-12-04 (Fri, 04 Dec 2015)

  Changed paths:
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit: always publish the previous counter

Although this seems a "hack", without having a stable counter, pipes are never
stable, and therefore the real limit can never be estimated.




More information about the Devel mailing list