| Commit message (Expand) | Author | Age |
* | Add a new option to enable/disable IOCP support | Nick Mathewson | 2010-09-28 |
* | Convert bufferevents to use rate-limiting.•••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.
| Nick Mathewson | 2010-09-27 |
* | Teach read_event/write_event manipulators about bufferevents.•••Add an --enable-bufferevents config switch.
| Nick Mathewson | 2010-09-27 |
* | Use Libevent 2.0's periodic timers where available.•••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.
| Nick Mathewson | 2010-06-25 |
* | Make the DNSPort option work with libevent 2.x•••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
| Sebastian Hahn | 2010-02-19 |
* | Whitespace and osx fixes on libevent2 patch. | Nick Mathewson | 2009-06-12 |
* | Make Tor compile with Libevent 1.0 again. | Nick Mathewson | 2009-06-12 |
* | Move the Libvent setup logic into compat_libevent from config.•••This has been some pretty ugly and voodoo-laden code. I've tried to
clean it up a bit, but more work probably remains.
| Nick Mathewson | 2009-06-12 |
* | Update Tor to use Libevent 2.0 APIs when available.•••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).
| Nick Mathewson | 2009-06-12 |