-
- Downloads
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).
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- configure.in 5 additions, 1 deletionconfigure.in
- src/common/Makefile.am 3 additions, 2 deletionssrc/common/Makefile.am
- src/common/compat_libevent.c 153 additions, 0 deletionssrc/common/compat_libevent.c
- src/common/compat_libevent.h 39 additions, 0 deletionssrc/common/compat_libevent.h
- src/common/log.c 0 additions, 61 deletionssrc/common/log.c
- src/common/log.h 0 additions, 2 deletionssrc/common/log.h
- src/or/Makefile.am 15 additions, 15 deletionssrc/or/Makefile.am
- src/or/config.c 5 additions, 3 deletionssrc/or/config.c
- src/or/dns.c 14 additions, 3 deletionssrc/or/dns.c
- src/or/dnsserv.c 7 additions, 0 deletionssrc/or/dnsserv.c
- src/or/eventdns.c 1 addition, 0 deletionssrc/or/eventdns.c
- src/or/main.c 20 additions, 25 deletionssrc/or/main.c
- src/or/or.h 3 additions, 4 deletionssrc/or/or.h
- src/tools/Makefile.am 3 additions, 3 deletionssrc/tools/Makefile.am
Loading
Please register or sign in to comment