Commit c8e379a4 authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

r14259@Kushana: nickm | 2007-08-30 02:33:55 -0400

 Teach tor about more libevent versions.  Be more clear that "Known bugs" means "it will crash or something."  Most significantly, stop issuing dire warnings every time we run with kqueue on os x: it seems to have worked for a while now.

parent 2c24b9cb
......@@ -17,6 +17,8 @@ Changes in version - 2007-??-??
- When generating information telling us how to extend to a given
router, do not try to include the nickname if it is absent. Fixes
bug 467.
- On OSX, stop warning the user that kqueue support in libevent is
"experimental", since it seems to have worked fine for ages.
o Code simplifications and refactoring:
- Revamp file-writing logic so we don't need to have the entire contents
......@@ -622,7 +622,7 @@ typedef enum {
/* Note: we compare these, so it's important that "old" precede everything,
* and that "other" come last. */
LE_OLD=0, LE_10C, LE_10D, LE_10E, LE_11, LE_11A, LE_11B, LE_12, LE_12A,
LE_13, LE_13A, LE_13B,
LE_13, LE_13A, LE_13B, LE_13C, LE_13D,
} le_version_t;
static le_version_t decode_libevent_version(void);
......@@ -4156,17 +4156,6 @@ init_libevent(void)
#ifdef __APPLE__
if (decode_libevent_version() < LE_11B) {
} else if (!getenv("EVENT_NOKQUEUE")) {
const char *ver = NULL;
ver = event_get_version();
/* If we're 1.1b or later, we'd better have get_version() */
log(LOG_NOTICE, LD_GENERAL, "Enabling experimental OS X kqueue support "
"with libevent %s. If this turns out to not work, "
"set the environment variable EVENT_NOKQUEUE, and tell the Tor "
"developers.", ver);
......@@ -4204,6 +4193,8 @@ static const struct {
{ "1.3", LE_13 },
{ "1.3a", LE_13A },
{ "1.3b", LE_13B },
{ "1.3c", LE_13C },
{ "1.3d", LE_13D },
......@@ -4288,7 +4279,7 @@ check_libevent_version(const char *m, int server)
badness = "BROKEN";
} else if (buggy) {
"There are known bugs in using %s with libevent %s. "
"There are serious bugs in using %s with libevent %s. "
"Please use the latest version of libevent.", m, v);
badness = "BROKEN";
} else if (iffy) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment