opnsense-src/lib/libfetch
Mike Karels 8d44502e7f fetch: support EAI_ADDRFAMILY error, correct two error messages
With the change to return EAI_ADDRFAMILY from getaddrinfo(), fetch
would print "Unknown resolver error" for that error.  Add that error
and its string to libfetch's table, using an #ifdef just in case.
Correct error strings for EAI_NODATA (although it is currently unused)
and EAI_NONAME.  Should maybe rework the code to use gai_strerror(3),
but that doesn't map directly, and the current strings are shortened.

Reviewed in https://reviews.freebsd.org/D37139 with related changes.

Reviewed by:    bz

(cherry picked from commit 631b82aca0)
2022-12-03 09:17:10 -06:00
..
common.c fetch: support EAI_ADDRFAMILY error, correct two error messages 2022-12-03 09:17:10 -06:00
common.h fetch(3): Add SOCKS5 support 2020-02-15 18:03:16 +00:00
fetch.3 Remove support for SSLv3 from fetch(3). 2020-11-24 22:10:33 +00:00
fetch.c libfetch: disallow invalid escape sequences 2020-02-05 16:55:00 +00:00
fetch.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
file.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
ftp.c Fix libfetch out of bounds read. 2021-08-24 10:59:43 -07:00
ftp.errors
http.c libfetch: remove a set-but-not-used variable 2022-04-30 09:55:31 +02:00
http.errors
Makefile pkgbase: Create a FreeBSD-fetch package 2022-01-05 18:23:53 +01:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00