[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8484: Backport: Warn the user if libevent is 1.1a or earlier and t (in tor/branches/tor-0_1_1-patches: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8484: Backport: Warn the user if libevent is 1.1a or earlier and t (in tor/branches/tor-0_1_1-patches: . src/or)
- From: nickm@xxxxxxxx
- Date: Sun, 24 Sep 2006 15:25:30 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 24 Sep 2006 15:25:38 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: nickm
Date: 2006-09-24 15:25:29 -0400 (Sun, 24 Sep 2006)
New Revision: 8484
Modified:
tor/branches/tor-0_1_1-patches/ChangeLog
tor/branches/tor-0_1_1-patches/src/or/config.c
Log:
Backport: Warn the user if libevent is 1.1a or earlier and they are using kqueue or win32 methods.
Modified: tor/branches/tor-0_1_1-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_1_1-patches/ChangeLog 2006-09-24 17:53:09 UTC (rev 8483)
+++ tor/branches/tor-0_1_1-patches/ChangeLog 2006-09-24 19:25:29 UTC (rev 8484)
@@ -17,8 +17,9 @@
- Fix NetBSD bug that could allow someone to force uninitialized RAM
to be sent to a server's DNS resolver. This only affects NetBSD and
other platforms that do not bounds-check tolower().
+ - Warn when using libevent 1.1a or earlier with win32 or kqueue
+ methods: these are known to be buggy.
-
Changes in version 0.1.1.23 - 2006-07-30
o Major bugfixes:
- Fast Tor servers, especially exit nodes, were triggering asserts
Modified: tor/branches/tor-0_1_1-patches/src/or/config.c
===================================================================
--- tor/branches/tor-0_1_1-patches/src/or/config.c 2006-09-24 17:53:09 UTC (rev 8483)
+++ tor/branches/tor-0_1_1-patches/src/or/config.c 2006-09-24 19:25:29 UTC (rev 8484)
@@ -3591,7 +3591,7 @@
if (!strcmp(m, "kqueue")) {
if (!strcmp(v, "1.0c") || !strcmp(v, "1.0d") || !strcmp(v, "1.0e") ||
- !strcmp(v, "1.1")) {
+ !strcmp(v, "1.1") || !strcmp(v, "1.1a")) {
buggy = 1;
}
} else if (!strcmp(m, "epoll")) {
@@ -3605,6 +3605,11 @@
} else if (!strcmp(m, "poll")) {
if (!strcmp(v, "1.0c") || !strcmp(v, "1.0d") || !strcmp(v, "1.0e"))
slow = 1;
+ } else if (!strcmp(m, "win32")) {
+ if (!strcmp(v, "1.0c") || !strcmp(v, "1.0d") || !strcmp(v, "1.0e") ||
+ !strcmp(v, "1.1") || !strcmp(v, "1.1a")) {
+ buggy = 1;
+ }
}
if (buggy) {