Create a new file, debuginfod-client-config.7, that holds all environment
variables and cache control files related info. Get rid of repetitive
definitions in three other files, instead, those files will include the
content of new file. Any future modification related to environment
variables and c
Also introduced DEBUGINFOD_RETRY_LIMIT_ENV_VAR and default
DEBUGINFOD_RETRY_LIMIT(which is 2).
Correponding test has been added to tests/run-debuginfod-find.sh
Signed-off-by: Alice Zhang
---
config/ChangeLog | 4
config/debuginfod.sysconfig| 1 +
debuginfod/ChangeLog
add debuginfod_config_cache for reading and writing to cache
configuration files, make use of the function within
debuginfod_clean_cache and debuginfod_query_server.
in debuginfod_query_server, create 000-permission file on failed
queries. Before querying each BUILDID, if corresponding 000 file
de
* debuginfod/debuginfod-client.c:
- add debuginfod_config_cache for reading and writing to cache
configuration files, make use of the function within
debuginfod_clean_cache and debuginfod_query_server.
- in debuginfod_query_server, create 000-permission file on failed
queries. Befor
Check scheme instead of effective url so that user may abbreviate
DEBUGINFOD_URL. Add one test for scheme free http url.
Notice that libcurl does not provide an almighty scheme free url
support, /path/to/something without FILE:// can not be recognized
in most circumstances, therefore for the neatn
Signed-off-by: Alice Zhang
---
debuginfod/debuginfod-client.c | 17 -
tests/run-debuginfod-find.sh | 6 ++
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
index c2aa4e10..3764b5f2 100644
--- a/d