Introduce conn_info() which combines http_info() and ip_info() to output
authorclaudio <claudio@openbsd.org>
Wed, 2 Nov 2022 16:50:51 +0000 (16:50 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 2 Nov 2022 16:50:51 +0000 (16:50 +0000)
commiteee9c28c7306858c21f9ce4d6623446f81f2a147
tree03dfb5f2e327445d04d9dbf965980c9101570df2
parent2eda2404144735f3a57ad645e0c87770411a399b
Introduce conn_info() which combines http_info() and ip_info() to output
both the host/uri and IP address of a connection.

Adjust http_connect() error handling to make sure conn->res is set to the
last address when hitting the error condition after the loop.
OK tb@
usr.sbin/rpki-client/http.c