Let dnsproc pass multiple addresses to netproc
authorjca <jca@openbsd.org>
Mon, 13 Dec 2021 13:30:39 +0000 (13:30 +0000)
committerjca <jca@openbsd.org>
Mon, 13 Dec 2021 13:30:39 +0000 (13:30 +0000)
commit28f2fbe81c1f53a2acfbe35030d8c1dc36ce108f
tree172046a9279bb677cb46b1ea66c01f3447e303c5
parentc2da98a69fbafc85ebff9625db0845806b40c8cc
Let dnsproc pass multiple addresses to netproc

The loop was exited prematurely because of a stray break statement.
In case of a failure to connect to the first address returned by
getaddrinfo(3), acme-client can now try to connect using another address
or address family if available.

ok florian@
usr.sbin/acme-client/dnsproc.c