]> granicus.if.org Git - libevent/commit
Make rate-limits go up to SIZE_MAX/EV_SSIZE_MAX, not just INT32_MAX
authorNick Mathewson <nickm@torproject.org>
Tue, 26 Oct 2010 14:27:29 +0000 (10:27 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 26 Oct 2010 14:27:29 +0000 (10:27 -0400)
commit2cbb1a161e843a0f50f3d42f622d58d5c58c510d
treeb9d4e61661f421c64d3c10fff152311924e34a21
parent8e342e563060a5dfc4c33bd46a2a6819a5d5b2f7
Make rate-limits go up to SIZE_MAX/EV_SSIZE_MAX, not just INT32_MAX

Someday, when networks are far faster and people frequently want a
burst value greater than 2GB per tick, this will seem very forsightful
indeed.

For now, it breaks ABI, but not source.  Fixes bug 3092096.
bufferevent-internal.h
bufferevent_ratelim.c
include/event2/bufferevent.h
ratelim-internal.h