This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 975
Fix some error branches in tor controller logic. #14675
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The event callbacks may not fire immediately. We may have to wait for the readable or writable to notice that they are closed. It may be that process.nextTick is enough for this, but setImmediate shouldn't hurt and gives us more time for I/O to happen. fix #14360 Auditors: @diracdeltas @bsclifton Test Plan:
i didn't encounter the error when i started a tor tab with wifi turned off, but i did encounter it when i turned wifi back on and clicked 'retry' to retry connecting to tor:
tor.log shows
|
I see what the problem is, oops. Working on a fix. |
bsclifton
approved these changes
Jul 10, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested before and after this patch- works great! 😄👍
riastradh-brave
added a commit
that referenced
this pull request
Jul 10, 2018
This should address the failure reported in: #14675 (comment) fix #14630 Auditors: @diracdeltas Test Plan: see #14630
riastradh-brave
added a commit
that referenced
this pull request
Jul 10, 2018
This should address the failure reported in: #14675 (comment) fix #14630 Auditors: @diracdeltas Test Plan: see #14630
@bsclifton did you mean to merge this into the release branches? |
diracdeltas
pushed a commit
that referenced
this pull request
Jul 10, 2018
Fix some error branches in tor controller logic.
doing it now since it's needed for #14703 to apply cleanly |
diracdeltas
pushed a commit
that referenced
this pull request
Jul 10, 2018
Fix some error branches in tor controller logic.
@diracdeltas yes- I did mean to but forgot; thanks! 😄 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix #14630, q.v. for test plan
(Issue covers two different bugs, both fixed here in separate commits.)
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
#14630
Reviewer Checklist:
Tests