Refine extend_info_for_node's "enough info" check once again.

In d1874b4339, we adjusted this check so that we insist on
using routerinfos for bridges.  That's almost correct... but if we
have a bridge that is also a regular relay, then we should use
insist on its routerinfo when connecting to it as a bridge
(directly), and be willing to use its microdescriptor when
connecting to it elsewhere in our circuits.

This bug is a likely cause of some (all?) of the (exit_ei == NULL)
failures we've been seeing.

Fixes bug 25691; bugfix on 0.3.3.4-alpha
This commit is contained in:
Nick Mathewson
2018-04-12 16:53:53 -04:00
parent 46795a7be6
commit 2d6914e391
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
o Minor bugfixes (client):
- When using a listed relay as a bridge, and also using
microdescriptors, and considering that relay as a non-bridge in
a circuit, consider its microdescriptor as a valid source of information
about that relay. Fixes bug 25691; bugfix on 0.3.3.4-alpha.