aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-12-16 13:35:09 -0500
committerNick Mathewson <nickm@torproject.org>2010-12-16 13:37:43 -0500
commitdd2ae32bc181efdc134c25359bc67d073c48a1d0 (patch)
tree57e25a1ea08e0ece5ed914918838091215bca053 /src/or/onion.h
parent1d0f8fe53c07f8015a411564d741fcd56a4e1eca (diff)
downloadtor-dd2ae32bc181efdc134c25359bc67d073c48a1d0.tar.gz
tor-dd2ae32bc181efdc134c25359bc67d073c48a1d0.zip
Turn on epoll changelists with libevent 2.0.9-rc and later
Libevent 2.0 has a "changelist" feature that avoids making redundant syscalls if we wind up doing a lot of event_add/event_del operations on the same fd in a row. Unfortunately, due to a weird design choice in Linux, it doesn't work right with epoll when multiple fds refer to the same socket (e.g., one is a dup() of the other). We don't dup() anything we give to Libevent, though, so it is safe for us to explicitly turn this feature on.
Diffstat (limited to 'src/or/onion.h')
0 files changed, 0 insertions, 0 deletions