Make the warnings about restarting tor in-process more scary.

This commit is contained in:
Nick Mathewson 2018-01-11 12:46:50 -05:00
parent 05ac3d0458
commit 18ea91ee6b
2 changed files with 4 additions and 3 deletions

View File

@ -3,5 +3,6 @@
Controllers that run Tor using the "tor_api.h" interface can now Controllers that run Tor using the "tor_api.h" interface can now
restart Tor after Tor has exited. This support is incomplete, however: restart Tor after Tor has exited. This support is incomplete, however:
we have fixed the crash bugs that prevented it from working at all we have fixed the crash bugs that prevented it from working at all
before, but many bugs probably remain. Implements ticket 24581. before, but many bugs probably remain, including the possibility of
security issues. Implements ticket 24581.

View File

@ -72,8 +72,8 @@ void tor_main_configuration_free(tor_main_configuration_t *cfg);
* *
* BUG 23847: You can only call tor_main() once in a single process; if it * BUG 23847: You can only call tor_main() once in a single process; if it
* returns and you call it again, you may crash, or you may encounter other * returns and you call it again, you may crash, or you may encounter other
* unexpected behavior. This is not intended long-term behavior; we are * unexpected behavior, including possible security issues. This is not
* trying to fix it. * intended long-term behavior; we are trying to fix it.
* *
* LIMITATION: You cannot run more than one instance of Tor in the same * LIMITATION: You cannot run more than one instance of Tor in the same
* process at the same time. Concurrent calls will cause undefined behavior. * process at the same time. Concurrent calls will cause undefined behavior.