]> granicus.if.org Git - libevent/commit
Functions to view and manipulate rate-limiting buckets.
authorNick Mathewson <nickm@torproject.org>
Wed, 3 Feb 2010 20:12:04 +0000 (15:12 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 3 Feb 2010 20:12:04 +0000 (15:12 -0500)
commit85047a69836391bf095b98c36ec2b17876b2e325
tree5fcaaf6f00cfcdd9c06e66803f815b2ac8952de2
parentaba1fff33a9c1060a6a721f01f4d09c884a4ed5d
Functions to view and manipulate rate-limiting buckets.

We need these for Tor, and other projects probably need them too.  Uses
include:
    - Checking whether bandwidth is mostly-used, and only taking some
      actions when there's plenty of bandwidth.
    - Deducting some non-bufferevent activities from a rate-limit group.
bufferevent_ratelim.c
include/event2/bufferevent.h