commit | 60117fb6b2006e1ef282fee48eae7646622d1667 | [log] [tgz] |
---|---|---|
author | Alice Zhang <alizhang@redhat.com> | Tue Jul 06 16:12:43 2021 -0400 |
committer | Mark Wielaard <mark@klomp.org> | Fri Jul 09 12:22:05 2021 +0200 |
tree | 8ae2e9c0cb0d193acf8f3838782365e499c397dd | |
parent | 0ae9b791b47cdee92ac7221e3eead79c83a64a40 [diff] |
PR27531: retry within default retry_limit will be supported. In debuginfod-client.c (debuginfod_query_server),insert a goto statement for jumping back to the beginning of curl handles set up if query fails and a non ENOENT error is returned. 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 <alizhang@redhat.com>