[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r7005: a way to make tor more stable in crummy situations (tor/trunk/src/or)



Author: arma
Date: 2006-08-10 04:00:54 -0400 (Thu, 10 Aug 2006)
New Revision: 7005

Modified:
   tor/trunk/src/or/config.c
Log:
a way to make tor more stable in crummy situations


Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2006-08-10 08:00:13 UTC (rev 7004)
+++ tor/trunk/src/or/config.c	2006-08-10 08:00:54 UTC (rev 7005)
@@ -3623,6 +3623,10 @@
 
   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;