mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Give a warning when bufferevents are enabled.
Ticket 9147.
This commit is contained in:
parent
ca6aacce16
commit
c955149271
2 changed files with 11 additions and 0 deletions
4
changes/bug9147
Normal file
4
changes/bug9147
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
o Minor features:
|
||||||
|
- Issue a warning when running with the bufferevents backend enabled.
|
||||||
|
It's still not stable, and people should know that they're likely
|
||||||
|
to hit unexpected problems. Closes ticket 9147.
|
|
@ -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);
|
handle_signals(1);
|
||||||
|
|
||||||
/* load the private keys, if we're supposed to have them, and set up the
|
/* load the private keys, if we're supposed to have them, and set up the
|
||||||
|
|
Loading…
Add table
Reference in a new issue