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

Bug25939 034 01 #63

Merged
merged 3 commits into from
Apr 27, 2018
Merged

Bug25939 034 01 #63

merged 3 commits into from
Apr 27, 2018

Conversation

dgoulet-tor
Copy link
Contributor

No description provided.

This is done because it makes our life easier with unit tests. Also, a rescan
on an uninitialized event list will result in a stacktrace.

Signed-off-by: David Goulet <dgoulet@torproject.org>
Because ADD_ONION/DEL_ONION can modify the global service map (both for v2 and
v3), we need to rescan the event list so we either enable or disable the HS
service main loop event.

Fixees #25939

Signed-off-by: David Goulet <dgoulet@torproject.org>
Because we rescan the main loop event list if the global map of services has
changed, this makes sure it does work.

Signed-off-by: David Goulet <dgoulet@torproject.org>
@coveralls
Copy link

Pull Request Test Coverage Report for Build 593

  • 12 of 14 (85.71%) changed or added relevant lines in 3 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.005%) to 58.903%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/or/rendservice.c 2 4 50.0%
Files with Coverage Reduction New Missed Lines %
src/or/rendservice.c 1 32.4%
src/or/main.c 2 26.34%
Totals Coverage Status
Change from base Build 591: 0.005%
Covered Lines: 40492
Relevant Lines: 68743

💛 - Coveralls

@tor-bot tor-bot merged commit 8b58e1e into torproject:master Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants