Commit 8075928b authored by Roger Dingledine's avatar Roger Dingledine
Browse files

a way to make tor more stable in crummy situations


svn:r7005
parent 35f08818
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;