summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-08-10 08:00:54 +0000
committerRoger Dingledine <arma@torproject.org>2006-08-10 08:00:54 +0000
commit8075928b2a7b9120bddfb43f9846f80d5f35e040 (patch)
tree8424eee8f026fdab30cf4864909c165d0912e005 /src
parent35f0881802cd55359deda3c7acd9cd7db9ac1416 (diff)
downloadtor-8075928b2a7b9120bddfb43f9846f80d5f35e040.tar.gz
tor-8075928b2a7b9120bddfb43f9846f80d5f35e040.zip
a way to make tor more stable in crummy situations
svn:r7005
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 39522f7344..0d9fd4c150 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3623,6 +3623,10 @@ check_libevent_version(const char *m, int server)
version = decode_libevent_version();
+ /* XXX Would it be worthwhile disabling the methods that we know
+ * are buggy, rather than just warning about them and then proceeding
+ * to use them? If so, we should probably not wrap this whole thing
+ * in HAVE_EVENT_GET_VERSION and HAVE_EVENT_GET_METHOD. -RD */
if (!strcmp(m, "kqueue")) {
if (version < LE_11B)
buggy = 1;