-
Notifications
You must be signed in to change notification settings - Fork 73
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
conf_changed can happen before bootstrap #288
Comments
to don't get error about options that can't be changed once it's launched.
Hmm, how would that happen? I guess if you created two |
But also hmm: I don't think anything bad happens if we get a CONF_CHANGED while bootstrapping (or at least i can't make a unit-test do any bad stuff) |
I'm not sure what you mean. I see 3 cases:
|
@juga0 that way (in the linked code) looks good to me -- but that CONF_CHANGED thing is interesting! I guess it's somehow getting a 650 event while still reading the consensus?! |
Could be a bug in |
While its still reading the config, it looks like
TorConfig
can getCONF_CHANGED
events (and probably does bad things). It should ignoreCONF_CHANGED
until after bootstrap is completed.See TheTorProject/bwscanner@ccddac6#diff-5d97531ed54d2f8c4d91ebce0fb91774R170
The text was updated successfully, but these errors were encountered: