tor/src/app
David Goulet c18e52af7c addr: Continue discovery if Address exits but not for wanted family
Commit b14b1f2b1d was a mistake.

In case an Address statement is missing for the wanted family but another one
exists for another family, simply continue the address discovery.

It is not a mistake to be missing an Address statement for a family because
the address could simply be discovered by the next methods. Not all address
family requires a specific Address statement.

However, we do bail if we couldn't find any valid address for the requested
family _and_ a resolve failed meaning we had a hostname but couldn't resolve
it. In that case, we can't know if that hostname would have been for v4 or v6
thus we can't continue the address discovery properly.

Couple unit tests case were removed to match this reality.

Related #40025

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-20 14:51:42 -04:00
..
config addr: Continue discovery if Address exits but not for wanted family 2020-07-20 14:51:42 -04:00
main Use connection_describe() for log messages. 2020-07-16 09:02:10 -04:00
app.md Move remaining CodeStructure.md contents into doxygen. 2020-06-26 10:11:42 -04:00
include.am trace: Add LTTng-UST interface support 2020-07-08 09:10:08 -04:00