aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/dns.h
AgeCommit message (Collapse)Author
2020-02-19Make dns_cancel_pending_resolve() STATIC.Nick Mathewson
It is not called by anything outside of the tests and dns.c.
2020-02-19Remove assert_all_pending_dns_resolves_ok().Nick Mathewson
It hasn't been used since 2009.
2020-02-19dns.h: label functions that are only used inside feature/relayNick Mathewson
2020-02-18Disable dns.c when relay mode is disabled.Nick Mathewson
This saves about 1% for me on a binary compiled without relay mode. Closes ticket 33366.
2020-02-18Move DNS TTL manipulation code to src/core/orNick Mathewson
This removes a dependency from the client code on feature/relay.
2020-02-18Replace identifiers related to clipping DNS ttls.Nick Mathewson
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ MIN_DNS_TTL_AT_EXIT MIN_DNS_TTL \ MAX_DNS_TTL_AT_EXIT MAX_DNS_TTL \ dns_clip_ttl clip_dns_ttl
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-10-20Exclude test and a supporting function when evdns_base_get_nameserver_addr() ↵rl1987
is not available
2018-10-20Unit test for DNS fallback in configure_nameserversrl1987
2018-07-17Teach the OOM handler about the DNS cacheNeel Chauhan
2018-07-16Add and use dns_cache_total_allocation()Neel Chauhan
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-05Move literally everything out of src/orNick Mathewson
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.