Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-21 | Stop overriding MaxClientCircuitsPending in tests. | Nick Mathewson | |
Now that MaxClientCircuitsPending is set to the default value in the testing helper functions, the individual tests don't all need to make sure it is set to something valid. | |||
2019-10-21 | test_options.c: remove weird usage of MaxClientCircuitsPending | Nick Mathewson | |
Several of our tests assumed that MaxClientCircuitsPending would be set to 0 by default, causing the default options not to be parseable. These tests had nothing to do with MaxClientCircuitsPending. | |||
2019-10-21 | Stop overriding KeepalivePeriod in tests. | Nick Mathewson | |
Now that KeepalivePeriod is set to the default value in the testing helper functions, the individual tests don't all need to make sure it is set to something valid. | |||
2019-10-21 | test_options.c: remove weird usage of KeepalivePeriod. | Nick Mathewson | |
Several of our tests assumed that KeepalivePeriod would be set to 0 by default, causing the default options not to be parseable. These tests had nothing to do with KeepalivePeriod. | |||
2019-10-21 | Remove a lot of cruft from TEST_OPTIONS_DEFAULT_VALUES. | Nick Mathewson | |
This macro used to have a big list of "default" values that we needed to set in the test_options tests in order to have reasonable behavior. But now that we initialize options objects to the default settings in these tests, we no longer need such a long list of things to replace. | |||
2019-10-21 | test_options: use testing options with (almost) real defaults. | Nick Mathewson | |
Previously, we just used options set to all 0s, but this causes some pretty severe workarounds throughout the code, as our options fail to validate, or count as "default" for the wrong reasons. Note that in some places, we stop getting spurious warnings or failures which the tests previously demanded. In these cases, I've changed the test behavior. Fixes 32175. | |||
2019-10-21 | routermode.h: turn a comment into a doxygen comment. | Nick Mathewson | |
2019-10-21 | Merge remote-tracking branch 'tor-github/pr/1430' | Nick Mathewson | |
2019-10-21 | Merge remote-tracking branch 'tor-github/pr/1434' | teor | |
2019-10-21 | test/getinfo: Remove unnecessary test code | teor | |
Fix for 31684. | |||
2019-10-21 | control/getinfo: Use standard error handling | teor | |
Use BUG() for coding errors, and `< 0` for error checks. Fix to 31684. | |||
2019-10-21 | Fix changes file and string typos | teor | |
Part of 31684. | |||
2019-10-21 | control: Add GETINFO support for dumping microdesc consensus | AmreshVenugopal | |
- Allows control port to read microdesc consensus using: GETINFO dir/status-vote/microdesc/consensus add: Helper function `getinfo_helper_current_consensus` test: check if GETINFO commands return expected consensus data. Resolves 31684. | |||
2019-10-21 | Merge branch 'maint-0.4.2' | teor | |
2019-10-21 | Merge remote-tracking branch 'tor-github/pr/1168' | teor | |
2019-10-21 | Merge remote-tracking branch 'tor-github/pr/1422' into maint-0.4.2 | teor | |
2019-10-21 | Merge branch 'maint-0.4.2' | teor | |
2019-10-21 | Merge remote-tracking branch 'tor-github/pr/1432' into maint-0.4.2 | teor | |
2019-10-21 | Merge remote-tracking branch 'tor-github/pr/1354' into maint-0.4.2 | teor | |
2019-10-20 | Merge branch 'maint-0.4.2' | teor | |
2019-10-20 | hibernate: Fix repeated "bytes" in comment | teor | |
2019-10-20 | dirauth: Add a macro comment to have_module_dirauth() | teor | |
2019-10-20 | changes: file for 32123 | teor | |
Create an optional relay module, which can be disabled using the --disable-module-relay configure option. When it is set, also disable the dirauth module. Add a minimal implemention, which disables the relay and dircache modes in tor. Closes ticket 32123. | |||
2019-10-20 | doc/HACKING: Update Module.md for the relay module | teor | |
Also fix some typos, and delete some obsolete instructions. Part of 32123. | |||
2019-10-20 | Travis: Add a --disable-module-relay job | teor | |
Part of 32123. | |||
2019-10-20 | test/parseconf: Add basic dirauth and bridgeauth tests | teor | |
Part of 32123. | |||
2019-10-20 | test/parseconf: Expect different outputs when relay mode is disabled | teor | |
Part of 32123. | |||
2019-10-20 | test/rebind: Make control formatting and log parsing more robust | teor | |
* actually sleep when tor has not logged anything * log at debug level when waiting for tor to log something * backslash-replace bad UTF-8 characters in logs * format control messages as ASCII: tor does not accept UTF-8 control commands Fixes bug 31837; bugfix on 0.3.5.1-alpha. | |||
2019-10-20 | err: Use the correct type for cb_buf | teor | |
Fixes bug 32060; bug not in any released version of tor. Resolves CID 1454761. | |||
2019-10-20 | Merge branch 'maint-0.4.2' | Roger Dingledine | |
2019-10-20 | fix easy typos | Roger Dingledine | |
2019-10-20 | test: Skip test scripts that require the relay module | teor | |
When tor is built without the relay module. Part of 32123. | |||
2019-10-20 | relay: Silence compiler warnings when relay mode is disabled | teor | |
Part of 32123. | |||
2019-10-20 | relay: Implement HAVE_MODULE_RELAY for routermode.c | teor | |
Part of 32123. | |||
2019-10-20 | feature: Move proxy_mode() into new files | teor | |
proxy_mode() was in routermode.[ch], but it's actually a client mode. Move it into client/proxymode.[ch]. Part of 32123. | |||
2019-10-20 | configure: Make --disable-module-relay imply --disable-module-dirauth | teor | |
Part of 32123. | |||
2019-10-20 | configure: Add a relay module, with --disable-module-relay | teor | |
The Makefile and C defines don't actually do anything yet. Part of 32123. | |||
2019-10-18 | Merge branch 'maint-0.4.2' | Nick Mathewson | |
2019-10-18 | Merge remote-tracking branch 'tor-github/pr/1427' into maint-0.4.2 | Nick Mathewson | |
2019-10-18 | Merge branch 'maint-0.4.2' | Nick Mathewson | |
2019-10-18 | Merge remote-tracking branch 'tor-github/pr/1426' into maint-0.4.2 | Nick Mathewson | |
2019-10-18 | Merge branch 'maint-0.4.2' | Nick Mathewson | |
2019-10-18 | Merge remote-tracking branch 'tor-github/pr/1396' into maint-0.4.2 | Nick Mathewson | |
2019-10-18 | Merge branch 'maint-0.4.2' | Nick Mathewson | |
2019-10-18 | Merge branch 'maint-0.4.2' of git-rw.torproject.org:/tor into maint-0.4.2 | Nick Mathewson | |
2019-10-18 | changes: file for 32124. | teor | |
2019-10-18 | configure: Stop failing when jemalloc is requested, but tcmalloc is not found | teor | |
Fixes bug 32124; bugfix on 0.3.5.1-alpha. | |||
2019-10-18 | configure: Interpret --with-tcmalloc=no correctly | teor | |
Fixes bug 32124; bugfix on 0.2.0.20-rc. | |||
2019-10-18 | configure: Interpret --disable-module-dirauth=no correctly | teor | |
Fixes bug 32134; bugfix on 0.3.4.1-alpha. | |||
2019-10-18 | configure: Clarify the description of --disable-module-dirauth | teor | |
Part of 32123. |