Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer continually vetting masquerades #3588

Merged
merged 2 commits into from
Feb 17, 2016
Merged

No longer continually vetting masquerades #3588

merged 2 commits into from
Feb 17, 2016

Conversation

oxtoacart
Copy link
Contributor

Sorry the diff on util_test is so big, I just added all the masquerades because it was failing with its initial masquerades. Eventually, we should just have one place where we keep the list of masquerades (see #3587).

}
}

func (d *direct) vetSome() {
func (d *direct) vetOne() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This goroutine now terminates once it has successfully verified one masquerade. So, when we reconfigure, we don't end up piling up a bunch of goroutines. Also, we don't do a bunch of work vetting masquerades that we may never use.

fffw added a commit that referenced this pull request Feb 17, 2016
No longer continually vetting masquerades
@fffw fffw merged commit f4db776 into release-2.0.1 Feb 17, 2016
@fffw fffw deleted the issue3580 branch February 17, 2016 07:18
@getlantern getlantern deleted a comment from fffw Mar 3, 2021
@getlantern getlantern deleted a comment from fffw Mar 3, 2021
@getlantern getlantern deleted a comment from myleshorton Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants