From c9551492715c0b840f65992692581eb555c0930d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 29 Jun 2013 03:45:40 -0400 Subject: Give a warning when bufferevents are enabled. Ticket 9147. --- src/or/main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/or/main.c b/src/or/main.c index fd8b6cf67..bd23141b9 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1882,6 +1882,13 @@ do_main_loop(void) } } +#ifdef USE_BUFFEREVENTS + log_warn(LD_GENERAL, "Tor was compiled with the --enable-bufferevents " + "option. This is still experimental, and might cause strange " + "bugs. If you want a more stable Tor, be sure to build without " + "--enable-bufferevents."); +#endif + handle_signals(1); /* load the private keys, if we're supposed to have them, and set up the -- cgit v1.2.3