Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
packages
/
modules
/
DnsResolver
/
802eccd2f8eaec85027f77d7183efb0b944fbf68
/
res_cache.cpp
802eccd
Cleanup: rename resolv_cache to Cache everywhere
by Bernie Innocenti
· 5 years ago
d2fa109
Merge "Actually clear all DNS stats on resolver changes"
by Bernie Innocenti
· 5 years ago
a0c6f19
Merge "Resolv: Replace BSD types with regular C99 types"
by Bruce Chen
· 5 years ago
c51f121
Resolv: Replace BSD types with regular C99 types
by chenbruce
· 5 years ago
411ea7f
Convert to use libbase ScopedLockAssertion
by Mike Yu
· 5 years ago
863e39b
Actually clear all DNS stats on resolver changes
by Bernie Innocenti
· 5 years ago
99cbfd8
Resolv: Enable clang-tidy and fix all warnings
by chenbruce
· 5 years ago
34433c6
Delete dump_bytes() and its helper functions
by Mike Yu
· 5 years ago
fbfc27d
Delete dump_query() and its helper functions
by Mike Yu
· 5 years ago
e126fbe
Subsampling DNS events to reduce logs
by Luke Huang
· 5 years ago
c7649d1
Add tests for resolv_set_nameservers_for_net in res_cache_test
by Mike Yu
· 5 years ago
2dac438
Use std::vector to store domains of nameservers and minor change
by Luke Huang
· 5 years ago
d1ec254
resolv: add some tests for resolver cache
by Mike Yu
· 5 years ago
40f5f49
Fix wrong behavior of async DNS API with flags
by Luke Huang
· 5 years ago
9b80e6c
Make DNS cache lifecycle management explicit
by Luke Huang
· 6 years ago
5b24e21
[Resolver-log]: Some modifications for debug logging
by chenbruce
· 6 years ago
5471dca
Unify log tag of DNS resolver
by Ken Chen
· 6 years ago
0d47042
Modify trivial inline functions.
by chenbruce
· 6 years ago
a4be3c8
Export the list the resolver caches from res_cache
by Bernie Innocenti
· 6 years ago
a1d7418
Fix asynchronous DNS API flag NO_CACHE_LOOKUP behavior
by Luke Huang
· 6 years ago
ffc224a
Disable sensitive logs
by Ken Chen
· 6 years ago
a74195e
Allow changing retry limit and timeout via experiment flags.
by waynema
· 6 years ago
3b8f590
netd: use PLOG where appropriate.
by Elliott Hughes
· 6 years ago
dd21072
[Resolver] Remove statp->pfcode, which was only used by dig
by chenbruce
· 6 years ago
3952ccc
resolv: small improvements for debug logging
by Bernie Innocenti
· 6 years ago
acb832c
[Resolver-log] Replacing unused debuging functions by LOG(x).
by chenbruce
· 6 years ago
758005f
Rename struct __res_params to res_params
by Bernie Innocenti
· 6 years ago
553b117
Check if 'cache' is a valid pointer before dereference it
by Ken Chen
· 6 years ago
0161acd
Add RESOLVER_PARAMS_RETRY_COUNT for configuring the retries.
by waynema
· 6 years ago
92bed61
Improve resolver cache lock and thread synchronization
by Ken Chen
· 6 years ago
ba7bef9
Implementation of control flags in asynchronous DNS query API
by Luke Huang
· 6 years ago
b102dd2
Enable -Wsign-compare for netd and fix warnings
by Bernie Innocenti
· 6 years ago
6990632
Delete dead code for explicitly flushing the resolver cache.
by Bernie Innocenti
· 6 years ago
418cfb6
Add resolv_has_nameserver() to replace getHasDns()
by cken
· 6 years ago
159bfae
Assign dns cache size without checking environment variable ANDROID_DNS_MODE
by nuccachen
· 6 years ago
bbca020
Add type cast to fix build error with "-Wsign-compare" cflag.
by Sehee Park
· 6 years ago
545b52c
Free memory when it is no more used
by Ken Chen
· 6 years ago
e2bc46f
Remove all non-public resolver APIs
by Bernie Innocenti
· 6 years ago
ac18b12
Move resolver public headers to separate include path
by Bernie Innocenti
· 6 years ago
136af7b
Move a few internal constants out of resolv_params.h
by Bernie Innocenti
· 6 years ago
68bb7aa
resolv: second pass of underscore removal
by Bernie Innocenti
· 6 years ago
2e8540b
resolv: dead code removal
by Bernie Innocenti
· 6 years ago
9f05f5e
resolv: Switch to android-base/logging.h
by Bernie Innocenti
· 6 years ago
9c57593
Minimal changes to bring the resolver into the C++ era
by Bernie Innocenti
· 6 years ago
[Renamed (95%) from res_cache.c]
afaacf7
Build netd with a built-in resolver library
by Bernie Innocenti
· 6 years ago
8ad893f
Re-indent resolver code with clang-format
by Bernie Innocenti
· 6 years ago
318ed2d
Import verbatim DNS resolver code from bionic
by Bernie Innocenti
· 6 years ago