diff options
author | Mark Wielaard <mark@klomp.org> | 2020-10-25 20:07:46 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2020-10-26 22:55:29 +0100 |
commit | 747a84b60e672cd7dedfb5f618ddd44770aada8e (patch) | |
tree | 8e35c0c11bb05383b1a6b8d453f835a8f7cd8527 /doc | |
parent | 5621fe5443da23112170235dd5cac161e5c75e65 (diff) | |
download | elfutils-747a84b60e672cd7dedfb5f618ddd44770aada8e.tar.gz |
debuginfod: Translate CURLE_PEER_FAILED_VERIFICATION to ECONNREFUSED.
When a file couldn't be retrieved because of an bad HTTPS certificate
find-debuginfod currently says:
Server query failed: No such file or directory
With this patch it will say:
Server query failed: Connection refused
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/debuginfod_find_debuginfo.3 | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index ad17e992..bde52c11 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2020-10-25 Mark Wielaard <mark@klomp.org> + + * debuginfod_find_debuginfo.3 (ECONNREFUSED): Document that this + is also returned for a bad HTTPS server certificate. + 2020-10-07 Frank Ch. Eigler <fche@redhat.com> * debuginfod-find.1: Add missing .br for SYNOPSIS section. diff --git a/doc/debuginfod_find_debuginfo.3 b/doc/debuginfod_find_debuginfo.3 index d9717d73..eec04e5e 100644 --- a/doc/debuginfod_find_debuginfo.3 +++ b/doc/debuginfod_find_debuginfo.3 @@ -254,7 +254,8 @@ Denied access to resource located at the URL. .TP .BR ECONNREFUSED -Unable to connect to remote host. +Unable to connect to remote host. Also returned when an HTTPS connection +couldn't be verified (bad certificate). .TP .BR ECONNRESET |