mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
2b44dccaaf
The new options let you specify a maximum deviation of bandwidth used from expected bandwidth used, and make test-ratelim.c exit with a nonzero status when those deviations are violated. This patch also adds a test-ratelim.sh script to run test-ratelim with a few sensible options for testing.