thaliproject / Tor_Onion_Proxy_Library

Provides a JAR and an AAR for embedding the Tor Onion Proxy into a Java or Android Program
Apache License 2.0
175 stars 98 forks source link

Check that there are bridges available before setting UseBridges property #97

Closed sisbell closed 5 years ago

sisbell commented 5 years ago

UseBridges should only be set in torrc if there are bridges available. This check is necessary because the TorSettings.hasBridges may return true but this doesn't mean any bridges will be available.