Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
40154c1f
Commit
40154c1f
authored
7 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'maint-0.3.3'
parents
699bb803
e9dbd6dd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/tor_api.h
+6
-8
6 additions, 8 deletions
src/or/tor_api.h
with
6 additions
and
8 deletions
src/or/tor_api.h
+
6
−
8
View file @
40154c1f
...
...
@@ -66,14 +66,12 @@ void tor_main_configuration_free(tor_main_configuration_t *cfg);
* This function will not return until Tor is done running. It returns zero
* on success, and nonzero on failure.
*
* BUG 23848: In many cases, tor_main will call exit() or abort() instead of
* returning. This is not the intended long-term behavior; we are trying to
* fix 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
* unexpected behavior, including possible security issues. This is not
* intended long-term behavior; we are trying to fix it.
* If you want to control when Tor exits, make sure to configure a control
* socket. The OwningControllerFD option may be helpful there.
*
* BUG 23847: Sometimes, if you call tor_main a second time (after it has
* returned), Tor may crash or behave strangely. We have fixed all issues of
* this type that we could find, but more may remain.
*
* LIMITATION: You cannot run more than one instance of Tor in the same
* process at the same time. Concurrent calls will cause undefined behavior.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment