diff options
author | Alice Zhang <alizhang@redhat.com> | 2021-07-06 16:12:43 -0400 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2021-07-09 12:22:05 +0200 |
commit | 60117fb6b2006e1ef282fee48eae7646622d1667 (patch) | |
tree | 8ae2e9c0cb0d193acf8f3838782365e499c397dd /doc | |
parent | 0ae9b791b47cdee92ac7221e3eead79c83a64a40 (diff) | |
download | elfutils-60117fb6b2006e1ef282fee48eae7646622d1667.tar.gz |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/debuginfod_find_debuginfo.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/debuginfod_find_debuginfo.3 b/doc/debuginfod_find_debuginfo.3 index 5ae44a98..7730dd32 100644 --- a/doc/debuginfod_find_debuginfo.3 +++ b/doc/debuginfod_find_debuginfo.3 @@ -277,6 +277,11 @@ program is reexecuted. If XDG_CACHE_HOME is set then $XDG_CACHE_HOME/debuginfod_client is the default location, otherwise $HOME/.cache/debuginfod_client is used. +.TP 21 +.B DEBUGINFOD_RETRY_LITMIT +This environment variable governs the default limit of retry attempts. If a +query failed with errno other than ENOENT, will initiate several attempts +within the limit. .SH "ERRORS" The following list is not comprehensive. Error codes may also |