aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
Commit message (Collapse)AuthorAge
* Add a new option to enable/disable IOCP supportNick Mathewson2010-09-28
|
* Convert bufferevents to use rate-limiting.Nick Mathewson2010-09-27
| | | | | | | | | | | This requires the latest Git version of Libevent as of 24 March 2010. In the future, we'll just say it requires Libevent 2.0.5-alpha or later. Since Libevent doesn't yet support hierarchical rate limit groups, there isn't yet support for tracking relayed-bytes separately when using the bufferevent system. If a future version does add support for hierarchical buckets, we can add that back in.
* Teach read_event/write_event manipulators about bufferevents.Nick Mathewson2010-09-27
| | | | Add an --enable-bufferevents config switch.
* Use Libevent 2.0's periodic timers where available.Nick Mathewson2010-06-25
| | | | | | | | These timers behave better with non-monotonic clocks than our old ones, and also try harder to make once-per-second events get called one second apart, rather than one-plus-epsilon seconds apart. This fixes bug 943 for everybody using Libevent 2.0 or later.
* Make the DNSPort option work with libevent 2.xSebastian Hahn2010-02-19
| | | | | | | | | We need to use evdns_add_server_port_with_base() when configuring our DNS listener, because libevent segfaults otherwise. Add a macro in compat_libevent.h to pick the correct implementation depending on the libevent version. Fixes bug 1143, found by SwissTorExit
* Whitespace and osx fixes on libevent2 patch.Nick Mathewson2009-06-12
|
* Make Tor compile with Libevent 1.0 again.Nick Mathewson2009-06-12
|
* Move the Libvent setup logic into compat_libevent from config.Nick Mathewson2009-06-12
| | | | | This has been some pretty ugly and voodoo-laden code. I've tried to clean it up a bit, but more work probably remains.
* Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson2009-06-12
This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920).