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

Ticket25376 034 01 #60

Closed
wants to merge 3 commits into from
Closed

Conversation

Labels
None yet
Projects
None yet
3 participants
@dgoulet-tor
Copy link
Contributor

@dgoulet-tor dgoulet-tor commented Apr 26, 2018

No description provided.

dgoulet-tor added 2 commits Apr 26, 2018
Implement the ability to set flags per events which influences the set up of
the event.

This commit only adds one flag which is "need network" meaning that the event
is not enabled if tor has disabled the network or if hibernation mode.

Signed-off-by: David Goulet <dgoulet@torproject.org>
When we change the hibernation state, rescan the main loop event list because
the new state might affect the events.

Signed-off-by: David Goulet <dgoulet@torproject.org>
@dgoulet-tor dgoulet-tor force-pushed the ticket25376_034_01 branch from c6fdaed to b82bf40 Apr 26, 2018
@coveralls
Copy link

@coveralls coveralls commented Apr 26, 2018

Pull Request Test Coverage Report for Build 590

  • 5 of 5 (100.0%) changed or added relevant lines in 2 files are covered.
  • 425 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.003%) to 58.921%

Files with Coverage Reduction New Missed Lines %
src/or/hs_common.c 1 83.36%
src/or/main.c 424 26.42%
Totals Coverage Status
Change from base Build 585: 0.003%
Covered Lines: 40498
Relevant Lines: 68733

💛 - Coveralls

@nmathewson
Copy link
Contributor

@nmathewson nmathewson commented May 7, 2018

We merged a squashed version of this as 3a47dfe

@nmathewson nmathewson closed this May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment