- Jan 17, 2020
-
-
Nick Mathewson authored
-
Nick Mathewson authored
The only code that could set these options to be negative was in the unit tests.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jan 16, 2020
-
-
Nick Mathewson authored
-
Nick Mathewson authored
We no longer need or need to test: * node_awaiting_ipv6() * networkstatus_consensus_has_ipv6().
-
Nick Mathewson authored
-
Nick Mathewson authored
Closes ticket 32695.
-
Nick Mathewson authored
-
Nick Mathewson authored
Resolved conflicts in src/core/include.am
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This may help the compiler eliminate deadcode.
-
Nick Mathewson authored
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ directory_must_use_begindir dirclient_must_use_begindir \ directory_fetches_from_authorities dirclient_fetches_from_authorities \ directory_fetches_dir_info_early dirclient_fetches_dir_info_early \ directory_fetches_dir_info_later dirclient_fetches_dir_info_later \ directory_too_idle_to_fetch_descriptors dirclient_too_idle_to_fetch_descriptors
-
Nick Mathewson authored
-
Nick Mathewson authored
I had incorrectly identified these functions as dircache-only, when in fact they apply to everyone who acts a directory client.
-
Nick Mathewson authored
-
Nick Mathewson authored
To make Tor still work, we define a minimal dircache_stub.c file that defines the entry points to the module that can actually be seen by the compiler when we're building with dircache and relay disabled.
-
Nick Mathewson authored
This is cleaner than iterating over the spool.
-
Nick Mathewson authored
This function had some XXX comments indicating (correctly) that it was not actually used by the dirserver code, and that only the controller still used it.
-
Nick Mathewson authored
Only directory caches actually need to spool things.
-
Nick Mathewson authored
For now, this module is enabled whenever the relay module is enabled, and disabled whenever the relay module is disabled. Though they are logically separate, the use cases for running one without the other are rare enough that we don't really want to support compiling them independently.
-
teor authored
-
teor authored
-
teor authored
-
teor authored
-
- Jan 15, 2020
-
-
teor authored
-
teor authored
Fix dirauth and relay module include.am add_c_file.py "control line not preceded by a blank line" errors. Also remove a duplicate ADD_C_FILE: SOURCES in the relay module. Obviously correct fixes to already-reviewed code.
-
Nick Mathewson authored
-
Nick Mathewson authored
When we made these functions exist unconditionally (as macros on non-windows platforms), we started to get a dead-code warning on Coverity. We now use a macro to tell coverity not to worry about this particular dead-code instance.
-
Nick Mathewson authored
The POSSIBLE(e) macro evaluates to the value of (e), but does so in a way that a static analyzer will not conclude that (e) is impossible. We can use this when we expect our regular compilers to eliminate deadcode, but we don't want coverity to complain about it. Part of a fix for 32960.
-
teor authored
-
teor authored
"Ours" merge, because ticket 32883 replaces this code with calls to tor_run_main(). (Which then calls the pubsub functions.) Therefore, this PR is obsolete in master, but it still needs to be merged, to avoid conflicts during any future backport.
-
teor authored
-
teor authored
-
teor authored
Part of 32705.
-
teor authored
Part of 32705.
-
teor authored
And canonicalise file paths, so that output is consistent, even in out-of-tree builds. Capturing stderr output produces better diagnostics. Diagnostics for 32705.
-
teor authored
Hopefully, these explanations make it easier to get the next branch transition right. Part of 32772.
-
teor authored
We need a test branch for the earliest maint branch (maint-0.3.5), but we can't merge forward into it, because there is no previous active maint branch. Also, edit a git-push-all comment that still said "029". Bugfix on 32772; bug not in any released version of tor.
-